OFFSET
1,1
MATHEMATICA
opct18Q[n_]:=Module[{s=Sqrt[n], cf, len}, cf=If[IntegerQ[s], {0, 0}, ContinuedFraction[s][[2]]]; len=Length[cf]; OddQ[len] && cf[[(len+1)/2]] == 18]; Select[Range[90000], opct18Q] (* Harvey P. Dale, Nov 12 2013 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
Corrected by Harvey P. Dale, Nov 12 2013
STATUS
approved