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