login
A142218
Primes congruent to 21 mod 41.
1
103, 349, 431, 677, 1087, 1579, 1907, 2153, 2399, 3137, 3301, 3547, 3793, 5023, 5351, 5843, 6007, 6089, 6581, 6827, 6991, 7237, 8221, 8467, 8713, 9041, 9533, 9697, 10271, 11173, 12157, 12239, 13469, 13633, 13879, 14207, 14699, 15601, 15683, 16339, 16421
OFFSET
1,1
LINKS
FORMULA
a(n) ~ 40n log n. - Charles R Greathouse IV, Jul 03 2016
MATHEMATICA
Select[Range[21, 30000, 41], PrimeQ] (* Vladimir Joseph Stephan Orlovsky, Jun 03 2011 *)
Select[Prime[Range[5000]], MemberQ[{21}, Mod[#, 41]]&] (* Vincenzo Librandi, Aug 23 2012 *)
PROG
(Magma) [p: p in PrimesUpTo(17000) | p mod 41 eq 21 ]; // Vincenzo Librandi, Aug 23 2012
(PARI) is(n)=isprime(n) && n%41==21 \\ Charles R Greathouse IV, Jul 03 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jul 11 2008
STATUS
approved