OFFSET
1,2
COMMENTS
sum(k=>1,1/a(k))=C=1.429...
EXAMPLE
The continued fraction for S(6)=1+1/4+1/14+1/19+1/25+1/282 is [1, 2, 2, 1, 1, 6, 1, 4, 5, 36, 1, 3, 2, 2] where the largest element is 36=6^2 and 282 is the smallest integer > 25 with this property.
PROG
(PARI) s=1; t=1; for(n=2, 47, s=s+1/t; while(abs(n^2-vecmax(contfrac(s+1/t)))>0, t++); print1(t, ", "))
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Benoit Cloitre, May 19 2002
STATUS
approved