OFFSET
1,1
EXAMPLE
The continued fraction for the square root of 12 is 3, {2, 6}.
MATHEMATICA
Select[ Range[500], First[ Last[ ContinuedFraction[ Sqrt[ # ]]]] == 2 & ]
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Robert G. Wilson v, Nov 01 2001
STATUS
approved