login
A107162
Primes of the form x^2 + 54y^2.
2
79, 103, 223, 241, 337, 487, 577, 607, 1033, 1153, 1279, 1327, 1399, 1423, 1447, 1471, 1489, 1879, 1993, 2089, 2113, 2311, 2473, 2617, 2647, 2671, 2713, 2719, 2767, 2887, 3079, 3169, 3271, 3313, 3457, 3511, 3559, 3607, 3673, 3697, 3793
OFFSET
1,1
COMMENTS
Discriminant = -216. See A107132 for more information.
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)
MATHEMATICA
QuadPrimes2[1, 0, 54, 10000] (* see A106856 *)
PROG
(PARI) list(lim)=my(v=List(), w, t); for(x=1, sqrtint(lim\1), w=x^2; for(y=1, sqrtint((lim-w)\54), if(isprime(t=w+54*y^2), listput(v, t)))); Set(v) \\ Charles R Greathouse IV, Feb 09 2017
CROSSREFS
Sequence in context: A033250 A139922 A112795 * A238186 A135143 A139503
KEYWORD
nonn,easy
AUTHOR
T. D. Noe, May 13 2005
STATUS
approved