OFFSET
1,2
COMMENTS
All the squares are in this sequence.
Differs from A001481 \ {0} and A248151 from a(17) = 36 on. The number 0 is in the sequence according to its definition. - M. F. Hasler, Oct 22 2019
EXAMPLE
5 is in the sequence because x^2-5*y^2=5 has integer solutions, including (x,y) = (5,2) and (85,38).
MATHEMATICA
Select[Range[1, 200], Solve[x^2==#*(1+y^2), {x, y}, Integers]!={}&] (* Vaclav Kotesovec, Jul 15 2014 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Colin Barker, Jul 14 2014
STATUS
approved