OFFSET
1,1
LINKS
T. D. Noe, Table of n, a(n) for n = 1..1000
MATHEMATICA
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]] == 1, AppendTo[t, n]]]]; t (* T. D. Noe, Apr 04 2014 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
STATUS
approved