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!)
A106949 Primes of the form 2x^2 + 9y^2. 3
2, 11, 17, 41, 59, 83, 89, 107, 113, 131, 137, 179, 227, 233, 251, 257, 281, 347, 353, 401, 419, 443, 449, 467, 491, 521, 563, 569, 587, 593, 617, 641, 659, 683, 761, 809, 827, 857, 881, 929, 947, 953, 971, 977, 1019, 1049, 1091, 1097, 1163, 1187, 1193 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Discriminant = -72.
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
Primes congruent to 2,11,17 modulo 24. - Michael Somos, Aug 19 2006
MATHEMATICA
QuadPrimes2[2, 0, 9, 10000] (* see A106856 *)
PROG
(PARI) {a(n)= local(m, c); if(n<1, 0, c=0; m=0; while( c<n, m++; if( isprime(m)& m==2|m%24==11|m%24==17, c++)); m)} /* Michael Somos, Aug 19 2006 */
(PARI) list(lim)=my(v=List([2]), t); forprime(p=11, lim, t=p%24; if(t==11||t==17, listput(v, p))); Vec(v) \\ Charles R Greathouse IV, Feb 09 2017
(Magma) [ p: p in PrimesUpTo(2000) | p mod 24 in {2, 11, 17} ]; // Vincenzo Librandi, Jul 22 2012
CROSSREFS
Sequence in context: A252657 A296053 A234647 * A236687 A187762 A217306
KEYWORD
nonn,easy
AUTHOR
T. D. Noe, May 09 2005
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 April 18 18:49 EDT 2024. Contains 371781 sequences. (Running on oeis4.)