OFFSET
1,1
COMMENTS
LINKS
Zak Seidov, Table of n, a(n) for n = 1..100
EXAMPLE
a(1) = 13 because the c.f. (c.f.=continued fraction) of sqrt(13) = 3,{1,1,1,1,6}, and c.f. contains 1.
a(2) = 2 because the c.f. of sqrt(2) = 1,{2}, and c.f. contains 1..2.
a(3) = 127 because the c.f. of sqrt(127) = 11,{3,1,2,2,7,11,7,2,2,1,3,22}, and c.f. contains 1..3.
a(4) = 19 because the c.f. of sqrt(19) = 4, {2, 1, 3, 1, 2, 8}, and c.f. contains 1..4.
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Mar 08 2011
STATUS
approved