A243184 Nonnegative numbers of the form 2*x^2+3*x*y-3*y^2.
0, 2, 6, 8, 11, 17, 18, 24, 29, 32, 33, 41, 44, 50, 51, 54, 62, 68, 72, 74, 83, 87, 96, 98, 99, 101, 107, 116, 123, 128, 131, 132, 134, 149, 150, 153, 162, 164, 167, 173, 176, 186, 194, 197, 200, 204, 206, 216, 222, 227, 233, 239, 242, 248, 249, 261, 263, 272, 275, 281, 288, 293, 294, 296, 297
Offset: 1
Keywords
Links
- R. J. Mathar, Table of n, a(n) for n = 1..1562
- N. J. A. Sloane et al., Binary Quadratic Forms and OEIS (Index to related sequences, programs, references)
Programs
-
Mathematica
Reap[For[n = 0, n <= 300, n++, If[Reduce[2*x^2 + 3*x*y - 3*y^2 == n, {x, y}, Integers] =!= False, Sow[n]]]][[2, 1]] (* In older versions, this program used to miss out 0 *)
Comments