|
|
A140002
|
|
Primes of the form 8*x^2 + 165*y^2.
|
|
1
|
|
|
173, 197, 293, 557, 677, 1493, 1613, 1733, 1877, 1997, 2213, 2477, 2837, 3533, 3797, 4133, 4157, 4253, 4373, 4397, 4517, 4637, 5477, 5573, 5693, 5717, 6173, 7013, 7757, 7853, 8093, 8117, 8597, 9173, 9413, 9437, 9533, 9677, 10133, 10733
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Discriminant = -5280. See A139827 for more information.
|
|
LINKS
|
|
|
FORMULA
|
The primes are congruent to {173, 197, 293, 413, 437, 557, 677, 893, 1157, 1253} (mod 1320).
|
|
MATHEMATICA
|
QuadPrimes2[8, 0, 165, 10000] (* see A106856 *)
|
|
PROG
|
(PARI) isA140002(n) = if(isprime(n), {r=0; for(y=0, floor(sqrt(n/165)), t=n-165*y^2; if((t%8==0)&(issquare(t/8)), r=1)); r}, 0) \\ Michael B. Porter, Oct 05 2009
(Magma) [p: p in PrimesUpTo(12000) | p mod 1320 in [173, 197, 293, 413, 437, 557, 677, 893, 1157, 1253]]; // Vincenzo Librandi, Aug 04 2012
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|