A141173 Primes of the form -2*x^2+2*x*y+3*y^2 (as well as of the form 6*x^2+10*x*y+3*y^2).
3, 7, 19, 31, 47, 59, 83, 103, 131, 139, 167, 199, 223, 227, 251, 271, 283, 307, 311, 367, 383, 419, 439, 467, 479, 503, 523, 563, 587, 607, 619, 643, 647, 691, 719, 727, 787, 811, 839, 859, 887, 971, 983, 1039, 1063, 1091, 1123, 1151, 1223, 1231, 1259, 1279, 1291, 1307, 1319, 1399, 1427
Offset: 1
Keywords
Examples
a(3)=19 because we can write 19=-2*4^2+2*4*3+3*3^2 (or 19=6*1^2+10*1*1+3*1^2).
References
- Z. I. Borevich and I. R. Shafarevich, Number Theory.
Links
- Juan Arias-de-Reyna, Table of n, a(n) for n = 1..10000
- N. J. A. Sloane et al., Binary Quadratic Forms and OEIS: Index to related sequences, programs, references. OEIS wiki, June 2014.
- D. B. Zagier, Zetafunktionen und quadratische Körper, Springer, 1981.
Crossrefs
Programs
-
Mathematica
Select[Prime[Range[250]], # == 7 || MatchQ[Mod[#, 28], 3|19|27]&] (* Jean-François Alcover, Oct 28 2016 *)
Comments