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

A132234
Primes congruent to 19 (mod 30).
10
19, 79, 109, 139, 199, 229, 349, 379, 409, 439, 499, 619, 709, 739, 769, 829, 859, 919, 1009, 1039, 1069, 1129, 1249, 1279, 1399, 1429, 1459, 1489, 1549, 1579, 1609, 1669, 1699, 1759, 1789, 1879, 1999, 2029, 2089, 2179, 2239, 2269, 2389, 2539, 2659, 2689
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
FORMULA
a(n) = A158806(n)*30 + 19. - Chandler
Intersection of A030433 and A002476. - Chandler
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