OFFSET
1,1
MATHEMATICA
cf22Q[n_]:=Module[{s=Sqrt[n], cf, len}, cf=If[IntegerQ[s], {1}, ContinuedFraction[ s][[2]]]; len=Length[cf]; EvenQ[len]&&cf[[len/2]] == 22]; Select[Range[2300], cf22Q] (* Harvey P. Dale, Jul 07 2020 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved