OFFSET
1,1
MATHEMATICA
cf42Q[n_]:=Module[{s=Sqrt[n]}, If[IntegerQ[s], 1, Length[ ContinuedFraction[ s][[2]]]]==42]; Select[Range[4000], cf42Q] (* Harvey P. Dale, Sep 24 2019 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved