OFFSET
1,1
MATHEMATICA
cf78Q[n_]:=Module[{s=Sqrt[n], cf, len}, cf=If[IntegerQ[s], {1}, ContinuedFraction[s][[2]]]; len = Length[ cf]; EvenQ[len]&&cf[[len/2]]==78]; Select[Range[14000], cf78Q] (* Harvey P. Dale, Jan 31 2024 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved