OFFSET
1,1
MATHEMATICA
cf18Q[n_]:=Module[{s=Sqrt[n], cf, len}, cf=If[IntegerQ[s], {1}, ContinuedFraction[ s][[2]]]; len=Length[cf]; EvenQ[len]&&cf[[len/2]] == 18]; Select[Range[2200], cf18Q] (* Harvey P. Dale, May 26 2018 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved