OFFSET
1,1
COMMENTS
See comment to A031551. - Harvey P. Dale, Jul 10 2012
LINKS
T. D. Noe, Table of n, a(n) for n = 1..1000
MATHEMATICA
epQ[n_]:=Module[{p=ContinuedFraction[Sqrt[n]][[2]], len}, len=Length[p]; EvenQ[len]&&p[[len/2]]==10]; nn=1300; With[{trms=Complement[Range[ nn], Range[ Floor[Sqrt[nn]]]^2]}, Select[trms, epQ]] (* Harvey P. Dale, Jul 10 2012 *)
n = 1; t = {}; While[Length[t] < 50, n++; If[! IntegerQ[Sqrt[n]], c = ContinuedFraction[Sqrt[n]]; len = Length[c[[2]]]; If[EvenQ[len] && c[[2, len/2]] == 10, AppendTo[t, n]]]]; t (* T. D. Noe, Apr 04 2014 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved