OFFSET
1,1
MATHEMATICA
cf21Q[n_]:=With[{s=Sqrt[n]}, If[IntegerQ[s], 1, Count[ContinuedFraction[s][[2]], 1]]==21]; Select[ Range[55000], cf21Q] (* Harvey P. Dale, May 19 2024 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved