OFFSET
1,2
COMMENTS
Conjectures:
The sequence is well defined for any n.
Limit_{n->oo} a(n)^(1/n) = 1.
EXAMPLE
The continued fraction for 1/a(1) + 1/a(2) = 1 + 1/2 is [1,2].
The c.f. for 1 + 1/2 + 1/3 is [1,1,5].
The c.f. for 1 + 1/2 + 1/4 is [1,1,3], whose maximum element is 3, hence a(3)=3.
PROG
(PARI) s=1; t=1; for(n=2, 50, s=s+1/t; t=t+1; while(abs(n-vecmax(contfrac(s+1/t)))>0, t++); print1(t, ", "))
CROSSREFS
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Mar 23 2010
STATUS
approved