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

A142193
Primes congruent to 27 mod 40.
1
67, 107, 227, 307, 347, 467, 547, 587, 787, 827, 907, 947, 1187, 1307, 1427, 1627, 1667, 1747, 1787, 1867, 1907, 1987, 2027, 2267, 2347, 2467, 2707, 3067, 3187, 3307, 3347, 3467, 3547, 3907, 3947, 4027, 4507, 4547, 4787, 4987, 5107, 5147, 5227, 5347, 5387
OFFSET
1,1
LINKS
FORMULA
a(n) ~ 16n log n. - Charles R Greathouse IV, Jul 03 2016
MATHEMATICA
Select[Prime[Range[2000]], MemberQ[{27}, Mod[#, 40]]&] (* Vincenzo Librandi, Aug 22 2012 *)
Select[Range[27, 6000, 40], PrimeQ] (* Harvey P. Dale, Mar 16 2018 *)
PROG
(Magma) [p: p in PrimesUpTo(6000) | p mod 40 eq 27 ]; // Vincenzo Librandi, Aug 22 2012
(PARI) is(n)=isprime(n) && n%40==27 \\ Charles R Greathouse IV, Jul 03 2016
CROSSREFS
Cf. A000040.
Sequence in context: A136077 A180521 A139511 * A141889 A289518 A229058
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jul 11 2008
STATUS
approved