|
|
A107163
|
|
Primes of the form 7x^2 + 8y^2.
|
|
2
|
|
|
7, 71, 79, 191, 263, 463, 599, 631, 823, 863, 919, 991, 1031, 1327, 1367, 1471, 1583, 1607, 1831, 1999, 2087, 2111, 2143, 2311, 2543, 2647, 2671, 2767, 2879, 2927, 3119, 3623, 3767, 3823, 4327, 4447, 4463, 4663, 4783, 4799, 4951, 5023, 5119
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Discriminant = -224. See A107132 for more information.
|
|
LINKS
|
|
|
MATHEMATICA
|
QuadPrimes2[7, 0, 8, 10000] (* see A106856 *)
|
|
PROG
|
(PARI) list(lim)=my(v=List(), w, t); for(x=1, sqrtint(lim\7), w=7*x^2; for(y=0, sqrtint((lim-w)\8), if(isprime(t=w+8*y^2), listput(v, t)))); Set(v) \\ Charles R Greathouse IV, Feb 09 2017
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|