OFFSET
1,2
COMMENTS
b(n) was used by Niven in the 70's for an alternative proof of the divergence of the sum of reciprocal of primes.
LINKS
Ivan Niven, A Proof of the Divergence of sum 1/p, The American Mathematical Monthly, Vol. 78, No. 3 (Mar., 1971), pp. 272-273.
FORMULA
EXAMPLE
Fractions begin with 1, 3/2, 11/6, 11/6, 61/30, 11/5, 82/35, 82/35, 82/35, 171/70, 1951/770, 1951/770, ...
MATHEMATICA
Accumulate[Table[If[SquareFreeQ[n], 1, 0]/n, {n, 1, 50}]] // Numerator (* Amiram Eldar, Apr 22 2025 *)
PROG
(PARI) a(n) = numerator(sum(k=1, n, issquarefree(k)/k)); \\ Michel Marcus, Nov 28 2013
CROSSREFS
KEYWORD
easy,frac,nonn
AUTHOR
Benoit Cloitre, Aug 21 2002
STATUS
approved