A242662 Nonnegative integers of the form x^2 + 4xy - 3y^2.
0, 1, 2, 4, 8, 9, 16, 18, 21, 25, 29, 32, 36, 37, 42, 49, 50, 53, 57, 58, 64, 72, 74, 81, 84, 93, 98, 100, 106, 109, 113, 114, 116, 121, 128, 133, 137, 141, 144, 148, 149, 162, 168, 169, 177, 186, 189, 193, 196, 197, 200, 212, 217, 218, 225, 226, 228, 232, 233, 242, 249, 256, 261, 266, 274, 277, 281, 282, 288, 289, 296, 298
Offset: 0
Keywords
Links
- R. J. Mathar, Table of n, a(n) for n = 0..1184
- 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