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

A229947
Primes congruent to {1, 11, 13, 17, 19, 29} mod 30.
2
11, 13, 17, 19, 29, 31, 41, 43, 47, 59, 61, 71, 73, 79, 89, 101, 103, 107, 109, 131, 137, 139, 149, 151, 163, 167, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 239, 241, 251, 257, 269, 271, 281, 283, 311, 313, 317, 331, 347, 349, 359, 373, 379, 389
OFFSET
1,1
COMMENTS
For twin primes congruent to {1, 11, 13, 17, 19, 29} mod 30 see A132247.
Complement of A132237, primes congruent to 7 or 23 (mod 30), in the set of primes > 5. - M. F. Hasler, Nov 02 2013
FORMULA
a(n) ~ 4/3 n log n. - Charles R Greathouse IV, Mar 08 2015
MATHEMATICA
Select[Flatten[Table[30n + {1, 11, 13, 17, 19, 29}, {n, 0, 11}]], PrimeQ] (* Alonso del Arte, Nov 01 2013 *)
Select[Prime@Range[100], MemberQ[{1, 11, 13, 17, 19, 29}, Mod[#, 30]] &] (* Vincenzo Librandi, Apr 05 2015 *)
PROG
(PARI) is(n)=isprime(n) && setsearch([1, 11, 13, 17, 19, 29], n%30) \\ Charles R Greathouse IV, Mar 08 2015
(Magma) [p: p in PrimesUpTo(500) | p mod 30 in {1, 11, 13, 17, 19, 29} ]; // Vincenzo Librandi, Apr 05 2015
KEYWORD
nonn,easy
AUTHOR
Omar E. Pol, Oct 27 2013
STATUS
approved