The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A139847 Primes of the form 6x^2 + 6xy + 19y^2. 2
19, 31, 139, 199, 271, 439, 619, 691, 811, 859, 1039, 1231, 1279, 1291, 1399, 1459, 1531, 1699, 1879, 1951, 2131, 2239, 2371, 2539, 2551, 2659, 2719, 2791, 2971, 3079, 3331, 3391, 3499, 3559, 3631, 3919, 4051, 4219, 4231, 4339, 4591, 4639 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Discriminant = -420. See A139827 for more information.
Also primes of the forms 19x^2 + 12xy + 24y^2 and 19x^2 + 16xy + 31y^2. See A140633. - T. D. Noe, May 19 2008
LINKS
Vincenzo Librandi and Ray Chandler, Table of n, a(n) for n = 1..10000 [First 1000 terms from Vincenzo Librandi]
N. J. A. Sloane et al., Binary Quadratic Forms and OEIS (Index to related sequences, programs, references)
FORMULA
The primes are congruent to {19, 31, 139, 199, 271, 391} (mod 420).
MATHEMATICA
QuadPrimes2[6, -6, 19, 10000] (* see A106856 *)
PROG
(Magma) [ p: p in PrimesUpTo(6000) | p mod 420 in {19, 31, 139, 199, 271, 391}]; // Vincenzo Librandi, Jul 29 2012
(PARI) list(lim)=my(v=List(), s=[19, 31, 139, 199, 271, 391]); forprime(p=19, lim, if(setsearch(s, p%420), listput(v, p))); Vec(v) \\ Charles R Greathouse IV, Feb 10 2017
CROSSREFS
Sequence in context: A237418 A240126 A125602 * A087764 A146691 A146784
KEYWORD
nonn,easy
AUTHOR
T. D. Noe, May 02 2008
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 12 11:18 EDT 2024. Contains 373331 sequences. (Running on oeis4.)