login
A061240
Prime numbers == 5 (mod 9).
12
5, 23, 41, 59, 113, 131, 149, 167, 239, 257, 293, 311, 347, 383, 401, 419, 491, 509, 563, 599, 617, 653, 743, 761, 797, 887, 941, 977, 1013, 1031, 1049, 1103, 1193, 1229, 1283, 1301, 1319, 1373, 1409, 1427, 1481, 1499, 1553, 1571, 1607, 1697, 1733, 1787
OFFSET
1,1
COMMENTS
A010888(a(n)) = 5. - Reinhard Zumkeller, Feb 25 2005
LINKS
MATHEMATICA
Select[ Range[ 2500 ], PrimeQ[ # ] && Mod[ #, 9 ] == 5 & ]
Select[Prime[Range[300]], Mod[#, 9]==5&] (* Harvey P. Dale, Oct 13 2017 *)
PROG
(Magma) [ p: p in PrimesUpTo(2000) | p mod 9 in {5} ]; // Vincenzo Librandi, Dec 25 2010
(PARI) select(p->p%9==5, primes(1000)) \\ Charles R Greathouse IV, Sep 26 2012
CROSSREFS
Sequence in context: A371622 A044447 A242215 * A243401 A062341 A176251
KEYWORD
nonn,easy
AUTHOR
Amarnath Murthy, Apr 23 2001
EXTENSIONS
More terms from Robert G. Wilson v, May 10 2001
STATUS
approved