|
|
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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Discriminant = -216. See A107132 for more information.
|
|
LINKS
|
|
|
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
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|