OFFSET
1,1
COMMENTS
Discriminant=-1012. See A139827 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)
FORMULA
The primes are congruent to {17, 21, 57, 61, 65, 109, 129, 145, 149, 153, 189, 205, 217, 237, 241, 249, 281, 293, 321, 329, 337, 365, 373, 413, 425, 457, 481, 497, 505, 513, 525, 549, 557, 569, 585, 589, 613, 677, 681, 689, 701, 733, 769, 789, 833, 849, 865, 893, 937, 941, 953, 965, 981, 985, 1009} (mod 1012).
MATHEMATICA
Union[QuadPrimes2[17, 12, 17, 10000], QuadPrimes2[17, -12, 17, 10000]] (* see A106856 *)
PROG
(Magma) [ p: p in PrimesUpTo(3000) | p mod 1012 in {17, 21, 57, 61, 65, 109, 129, 145, 149, 153, 189, 205, 217, 237, 241, 249, 281, 293, 321, 329, 337, 365, 373, 413, 425, 457, 481, 497, 505, 513, 525, 549, 557, 569, 585, 589, 613, 677, 681, 689, 701, 733, 769, 789, 833, 849, 865, 893, 937, 941, 953, 965, 981, 985, 1009}]; // Vincenzo Librandi, Jul 31 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
T. D. Noe, May 02 2008
STATUS
approved