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