OFFSET
1,1
COMMENTS
Also primes congruent to 4 (mod 15). - N. J. A. Sloane, Jul 11 2008
Primes ending in 9 with (SOD-1)/3 integer where SOD is sum of digits. - Ki Punches
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
C. K. Caldwell, The Prime Pages.
MATHEMATICA
Select[Prime[Range[1000]], MemberQ[{19}, Mod[#, 30]]&] (* Vincenzo Librandi, Aug 14 2012 *)
Select[Range[19, 2700, 30], PrimeQ] (* Harvey P. Dale, Dec 26 2014 *)
PROG
(Magma) [p: p in PrimesUpTo(3000) | p mod 30 eq 19 ]; // Vincenzo Librandi, Aug 14 2012
(PARI) is(n)=isprime(n) && n%30==19 \\ Charles R Greathouse IV, Jul 01 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Omar E. Pol, Aug 15 2007
EXTENSIONS
Extended by Ray Chandler, Apr 07 2009
STATUS
approved