OFFSET
1,2
EXAMPLE
The values of sigma(n)/n are: 1/1, 3/2, 4/3, 7/4, 6/5, ...
For n=1, the continued fraction is 1/1 so a(1)=1.
For n=2, it is 1/(1+3/2) = 2/5, so a(2)=2.
For n=3, it is 1/(1+3/(2+4/3)) = 10/19, so a(3)=10.
PROG
(PARI) a(nn) = {my(v = vector(nn, n, sigma(n)/n)); for (n=1, nn, val = v[n]; forstep(k=n-1, 1, -1, val = numerator(v[k])/(denominator(v[k]) + val); ); print1(numerator(val), ", "); ); }
CROSSREFS
KEYWORD
nonn,frac
AUTHOR
Michel Marcus, Jan 24 2015
STATUS
approved