A141187 Primes of the form -x^2+6*x*y+3*y^2 (as well as of the form 8*x^2+12*x*y+3*y^2).
3, 11, 23, 47, 59, 71, 83, 107, 131, 167, 179, 191, 227, 239, 251, 263, 311, 347, 359, 383, 419, 431, 443, 467, 479, 491, 503, 563, 587, 599, 647, 659, 683, 719, 743, 827, 839, 863, 887, 911, 947, 971, 983, 1019, 1031, 1091, 1103, 1151, 1163, 1187, 1223
Offset: 1
Keywords
Examples
a(3)=23 because we can write 23= -1^2+6*1*2+3*2^2 (or 23=8*1^2+12*1*1+3*1^2).
References
- Z. I. Borevich and I. R. Shafarevich, Number Theory. Academic Press, NY, 1966.
- D. B. Zagier, Zetafunktionen und quadratische Körper, Springer, 1981.
Links
- N. J. A. Sloane et al., Binary Quadratic Forms and OEIS (Index to related sequences, programs, references)
Crossrefs
Programs
-
Mathematica
Reap[For[p = 2, p < 2000, p = NextPrime[p], If[FindInstance[p == -x^2 + 6*x*y + 3*y^2, {x, y}, Integers, 1] =!= {}, Print[p]; Sow[p]]]][[2, 1]] (* Jean-François Alcover, Oct 25 2016 *)
Extensions
More terms from Colin Barker, Apr 05 2015
Comments