OFFSET
1,1
LINKS
Chai Wah Wu, Table of n, a(n) for n = 1..10000
Eric Weisstein's World of Mathematics, Periodic Continued Fraction
EXAMPLE
11 is in the sequence because sqrt(11) = 3 + 1/(3 + 1/(6 + 1/(3 + 1/(6 + 1/...)))), period 2: [3, 6] and sqrt(12) = 3 + 1/(2 + 1/(6 + 1/(2 + 1/(6 + 1/...)))), period 2: [2, 6].
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Jun 06 2017
STATUS
approved