OFFSET
1,1
COMMENTS
Discriminant=-3040. 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 {21, 29, 69, 109, 141, 181, 189, 221, 261, 269, 341, 421, 469, 509, 621, 629, 661, 749, 781, 789, 829, 869, 901, 941, 949, 981, 1021, 1029, 1101, 1181, 1229, 1269, 1381, 1389, 1421, 1509, 1541, 1549, 1589, 1629, 1661, 1701, 1709, 1741, 1781, 1789, 1861, 1941, 1989, 2029, 2141, 2149, 2181, 2269, 2301, 2309, 2349, 2389, 2421, 2461, 2469, 2501, 2541, 2549, 2621, 2701, 2749, 2789, 2901, 2909, 2941, 3029} (mod 3040).
MATHEMATICA
Union[QuadPrimes2[29, 18, 29, 10000], QuadPrimes2[29, -18, 29, 10000]] (* see A106856 *)
PROG
(Magma) [p: p in PrimesUpTo(6000) | p mod 3040 in [21, 29, 69, 109, 141, 181, 189, 221, 261, 269, 341, 421, 469, 509, 621, 629, 661, 749, 781, 789, 829, 869, 901, 941, 949, 981, 1021, 1029, 1101, 1181, 1229, 1269, 1381, 1389, 1421, 1509, 1541, 1549, 1589, 1629, 1661, 1701, 1709, 1741, 1781, 1789, 1861, 1941, 1989, 2029, 2141, 2149, 2181, 2269, 2301, 2309, 2349, 2389, 2421, 2461, 2469, 2501, 2541, 2549, 2621, 2701, 2749, 2789, 2901, 2909, 2941, 3029]]; // Vincenzo Librandi, Aug 03 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
T. D. Noe, May 02 2008
STATUS
approved