OFFSET
1,1
MATHEMATICA
cf24Q[n_]:=Module[{s=Sqrt[n], cf, len}, cf=If[IntegerQ[s], {1, 1}, ContinuedFraction[ s][[2]]]; len=Length[cf]; OddQ[len] && cf[[(len+1)/2]] == 24]; Select[Range[150000], cf24Q] (* Harvey P. Dale, Mar 17 2016 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
Terms and definition corrected by Harvey P. Dale, Mar 17 2016
STATUS
approved