A242666 Nonnegative integers of the form -x^2 + 4xy + 3y^2.
0, 3, 6, 7, 12, 14, 19, 24, 27, 28, 31, 38, 47, 48, 54, 56, 59, 62, 63, 75, 76, 83, 87, 94, 96, 103, 108, 111, 112, 118, 124, 126, 131, 139, 147, 150, 152, 159, 166, 167, 171, 174, 175, 188, 192, 199, 203, 206, 216, 222, 223, 224, 227, 236, 243, 248, 251, 252, 259, 262, 271, 278, 279, 283, 294, 300
Offset: 1
Keywords
Links
- 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[-x^2 + 4*x*y + 3*y^2 == n, {x, y}, Integers] =!= False, Sow[n]]]][[2, 1]]
Comments