OFFSET
1,1
EXAMPLE
43 appears in the sequence because the equation x^2 - 43*y^2 = 86 has integer solutions, such as (x,y) = (387,59).
MATHEMATICA
Select[Range[200], FindInstance[x^2-#*y^2==2*#, {x, y}, Integers]!={}&] (* Harvey P. Dale, Jun 22 2019 *)
PROG
(PARI) is(n)=sol=bnfisintnorm(bnfinit(z^2-n), 2*n); if(!#sol, 0, p=polcoeff(sol[1], 0); p==floor(p)) \\ Ralf Stephan, Oct 19 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
Colin Barker, Oct 09 2013
STATUS
approved