OFFSET
1,1
MATHEMATICA
cf87Q[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]] == 87]; Select[Range[1610000], cf87Q] (* Harvey P. Dale, Mar 25 2016 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
Definition clarified and terms corrected by Harvey P. Dale, Mar 25 2016
STATUS
approved