login
A132236
Primes congruent to 29 (mod 30).
22
29, 59, 89, 149, 179, 239, 269, 359, 389, 419, 449, 479, 509, 569, 599, 659, 719, 809, 839, 929, 1019, 1049, 1109, 1229, 1259, 1289, 1319, 1409, 1439, 1499, 1559, 1619, 1709, 1889, 1949, 1979, 2039, 2069, 2099, 2129, 2309, 2339, 2399, 2459, 2549, 2579
OFFSET
1,1
COMMENTS
Primes ending in 9 with (SOD-1)/3 non-integer where SOD is sum of digits. - Ki Punches
FORMULA
a(n) = A158850(n)*30 + 29. - Chandler
Intersection of A030433 and A007528. - Chandler
MATHEMATICA
Select[Prime[Range[400]], Mod[#, 30]==29&] (* Harvey P. Dale, Dec 25 2011 *)
Select[Prime[Range[1000]], MemberQ[{29}, Mod[#, 30]]&] (* Vincenzo Librandi, Aug 14 2012 *)
PROG
(Magma) [p: p in PrimesUpTo(3000) | p mod 30 eq 29 ]; // Vincenzo Librandi, Aug 14 2012
(PARI) is(n)=isprime(n) && n%30==29 \\ 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