OFFSET
1,3
COMMENTS
Discriminant 24.
From Jon E. Schoenfield, Jun 03 2022: (Start)
Also nonnegative integers of the form 3x^2 - 2y^2.
Also nonnegative integers of the form x^2 - 6y^2. (End)
LINKS
N. J. A. Sloane et al., Binary Quadratic Forms and OEIS (Index to related sequences, programs, references)
MATHEMATICA
Reap[For[n = 0, n <= 300, n++, If[Reduce[x^2 + 4*x*y - 2*y^2 == n, {x, y}, Integers] =!= False, Sow[n]]]][[2, 1]]
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, May 31 2014
STATUS
approved