OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
MATHEMATICA
q[k_] := Module[{c = ContinuedFraction[Sqrt[k]]}, Length[c] == 2 && Length[c[[2]]] == 56]; Select[Range[9000], q] (* Amiram Eldar, Aug 23 2025 *)
cf56Q[n_]:=With[{s=Sqrt[n]}, If[IntegerQ[s], 1, Length[ContinuedFraction[s][[2]]]]==56]; Select[Range[8100], cf56Q] (* Harvey P. Dale, Dec 21 2025 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved
