OFFSET
1,1
MATHEMATICA
cf47Q[n_]:=Module[{s=Sqrt[n], cf, len}, cf=If[IntegerQ[s], {1}, ContinuedFraction[ s] [[2]]]; len=Length[cf]; EvenQ[len]&&cf[[len/2]] == 47]; Select[Range[21000], cf47Q] (* Harvey P. Dale, Apr 07 2018 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved