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

A142732
Primes congruent to 5 mod 59.
3
5, 241, 359, 1303, 1657, 2011, 2129, 2719, 2837, 3191, 4253, 5197, 5669, 6967, 7321, 7793, 8147, 8501, 8737, 9091, 9209, 10271, 10861, 10979, 11923, 12041, 12277, 13103, 13339, 13457, 13693, 14401, 14519, 15227, 15581, 15817, 16879, 17351, 18059, 18413
OFFSET
1,1
COMMENTS
Primes congruent to 5 mod 118. - Vladimir Joseph Stephan Orlovsky, Jul 14 2011.
LINKS
FORMULA
a(n) ~ 58n log n. - Charles R Greathouse IV, Jul 02 2016
MATHEMATICA
Select[Range[5, 30000, 118], PrimeQ] (* Vladimir Joseph Stephan Orlovsky, Jul 14 2011 *)
Select[Prime[Range[2600]], MemberQ[{5}, Mod[#, 59]] &] (* Vincenzo Librandi, Sep 02 2012 *)
PROG
(Magma) [p: p in PrimesUpTo(19000) | p mod 59 eq 5 ]; // Vincenzo Librandi, Sep 02 2012
(PARI) is(n)=isprime(n) && n%59==5 \\ Charles R Greathouse IV, Jul 02 2016
CROSSREFS
Sequence in context: A270052 A174767 A230885 * A242625 A085115 A317165
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jul 11 2008
STATUS
approved