OFFSET
1,2
LINKS
Stanislav Sykora, Table of n, a(n) for n = 1..1000
S. Sykora, On some number densities related to coprimes, Stan's Library, Vol.V, Nov 2014, DOI: 10.3247/SL5Math14.005
PROG
(PARI) s_aux(n, p0, inp)={my(t=0/1, tt=0/1, in=inp, pp); while(1, pp=p0*prime(in); tt=n\pp; if(tt==0, break, t+=tt/pp-s_aux(n, pp, in++))); return(t)};
s(n)=1+s_aux(n, 1, 1);
a=vector(1000, n, denominator(s(n-1)/n))
CROSSREFS
KEYWORD
nonn,frac
AUTHOR
Stanislav Sykora, Nov 16 2014
STATUS
approved