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”).

A142228
Primes congruent to 31 mod 41.
1
31, 113, 277, 359, 523, 769, 1097, 1753, 1999, 2081, 2819, 3229, 3557, 3803, 3967, 4049, 4787, 4951, 5197, 5279, 5443, 5689, 6263, 6427, 6673, 7001, 7247, 7411, 8231, 8641, 8887, 8969, 9133, 9461, 9871, 10691, 10937, 11593, 11839, 12413, 12577, 12659, 12823
OFFSET
1,1
LINKS
FORMULA
a(n) ~ 40n log n. - Charles R Greathouse IV, Jul 03 2016
MATHEMATICA
Select[Prime[Range[5000]], MemberQ[{31}, Mod[#, 41]]&] (* Vincenzo Librandi, Aug 24 2012 *)
Select[Range[31, 14000, 41], PrimeQ] (* Harvey P. Dale, Sep 29 2013 *)
PROG
(Magma) [p: p in PrimesUpTo(17000) | p mod 41 eq 31 ]; // Vincenzo Librandi, Aug 24 2012
(PARI) is(n)=isprime(n) && n%41==31 \\ Charles R Greathouse IV, Jul 03 2016
CROSSREFS
Cf. A000040.
Sequence in context: A063397 A044282 A044663 * A304241 A204735 A254283
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jul 11 2008
STATUS
approved