OFFSET
1,2
EXAMPLE
sum(d|195, 1/d) = 112/65 and 112/65 continued fraction is [1, 1, 2, 1, 1, 1, 1, 3] which contains 8 elements. There is no smaller number than 195 with this property hence a(8)=195.
MATHEMATICA
a = Table[0, {50}]; Do[b = Length[ ContinuedFraction[ Apply[ Plus, 1/Divisors[n]]]]; If[ a[[b]] == 0, a[[b]] = n], {n, 1, 10^7}]
PROG
(PARI) for(n=1, 21, s=1; while(length(contfrac(sumdiv(s, d, 1/d)))<n, s++); print1(s, ", "))
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Benoit Cloitre, Jun 09 2002
EXTENSIONS
More terms from Robert G. Wilson v, Jun 11 2002
a(29)-a(36) from Michel Marcus, Sep 17 2012
STATUS
approved