login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A142043
Primes congruent to 21 mod 32.
1
53, 149, 181, 277, 373, 661, 757, 821, 853, 1013, 1109, 1237, 1301, 1429, 1493, 1621, 1877, 1973, 2069, 2293, 2357, 2389, 2549, 2677, 2741, 2837, 3061, 3221, 3253, 3413, 3541, 3637, 3701, 3733, 3797, 3989, 4021, 4373, 4597, 4789, 5077, 5237, 5333, 5557
OFFSET
1,1
LINKS
FORMULA
a(n) ~ 16n log n. - Charles R Greathouse IV, Jul 03 2016
MATHEMATICA
Select[Range[21, 20000, 32], PrimeQ] (* Vladimir Joseph Stephan Orlovsky, Jun 24 2011 *)
Select[Prime[Range[2000]], MemberQ[{21}, Mod[#, 32]]&] (* Vincenzo Librandi, Aug 18 2012 *)
PROG
(Magma) [p: p in PrimesUpTo(6000) | p mod 32 eq 21 ]; // Vincenzo Librandi, Aug 18 2012
(PARI) is(n)=isprime(n) && n%32==21 \\ Charles R Greathouse IV, Jul 03 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jul 11 2008
STATUS
approved