A229947 Primes congruent to {1, 11, 13, 17, 19, 29} mod 30.
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
Links
- Omar E. Pol, Prime numbers in a sieve with 30 columns
Crossrefs
Programs
-
Magma
[p: p in PrimesUpTo(500) | p mod 30 in {1,11,13,17, 19,29} ]; // Vincenzo Librandi, Apr 05 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 *)
-
PARI
is(n)=isprime(n) && setsearch([1,11,13,17,19,29], n%30) \\ Charles R Greathouse IV, Mar 08 2015
Formula
a(n) ~ 4/3 n log n. - Charles R Greathouse IV, Mar 08 2015
Comments