OFFSET
1,1
MATHEMATICA
cf45Q[n_]:=Module[{s=Sqrt[n], cf, len}, cf=If[IntegerQ[s], {1}, ContinuedFraction[ s][[2]]]; len=Length[cf]; EvenQ[len]&&cf[[len/2]]==45]; Select[Range[20000], cf45Q] (* Harvey P. Dale, Dec 04 2022 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved