OFFSET
1,2
COMMENTS
Sum(k=>1,1/a(k))=C=1.498...
EXAMPLE
The continued fraction for S(4)=1+1/3+1/8+1/85 is [1, 2, 7, 1, 6, 5, 1, 2] where the largest element is 7=prime(4).
PROG
(PARI) s=1; t=1; for(n=1, 60, s=s+1/t; while(abs(length(contfrac(s+1/t))-vecmax(contfrac(s+1/t)))>0, t++); print1(t, ", "))
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Benoit Cloitre, May 19 2002
STATUS
approved