OFFSET
1,1
LINKS
Sean A. Irvine, Table of n, a(n) for n = 1..233
EXAMPLE
The continued fraction for 1/a(1)+1/a(2)+1/a(3)+1/a(4) is [1, 2, 2, 1, 4] with 5 elements. The continued fraction for (1/2+1/3+1/11+1/2+1/5) is [1, 1, 1, 1, 1, 1, 20] which contains 7 elements and 5 is the smallest integer with this property, hence a(5)=5.
CROSSREFS
KEYWORD
nonn,changed
AUTHOR
Benoit Cloitre, Aug 18 2002
STATUS
approved