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
LINKS
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
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Omar E. Pol, Oct 27 2013
STATUS
approved