OFFSET
1,1
MATHEMATICA
cf24Q[n_]:=Module[{s=Sqrt[n], c}, c=If[IntegerQ[s], {1, 1}, ContinuedFraction[ s]][[2]]; Length[c]==24]; Select[Range[2500], cf24Q] (* Harvey P. Dale, Mar 20 2021 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved