reviewed
approved
reviewed
approved
proposed
reviewed
editing
proposed
(PARI) a(n) = my(s=0, k=1, j=1); while(s<n, s+=eulerphi(k++)); s-=eulerphi(k); while(s<n, if(1==gcd(j, k), s++); j++); k+1-j; \\ Ruud H.G. van Tol, May 14 2024
approved
editing
editing
approved
Denominators in one of the bijections a certain bijection from positive integers to positive rationals.
approved
editing
editing
approved
Here, the canonical This bijection means to list lists the fractions p/q (in lowest terms) by increasing p+q, then by increasing p, cf. (see the example). The variant A038569 corresponds to a different "canonical the bijection", where each fraction p/q with p < q is followed by its reciprocal q/p. - M. F. Hasler, Oct 25 2021
approved
editing
editing
approved
Denominators in canonical bijection one of the bijections from positive integers to positive rationals.
Definition clarified by N. J. A. Sloane, Nov 25 2021