login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A061238 Prime numbers == 2 (mod 9). 15
2, 11, 29, 47, 83, 101, 137, 173, 191, 227, 263, 281, 317, 353, 389, 443, 461, 479, 569, 587, 641, 659, 677, 821, 839, 857, 911, 929, 947, 983, 1019, 1091, 1109, 1163, 1181, 1217, 1289, 1307, 1361, 1433, 1451, 1487, 1523, 1559, 1613, 1667, 1721, 1811, 1847 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
A010888(a(n)) = 2. - Reinhard Zumkeller, Feb 25 2005
Except for the first term "2", all current prime numbers are of the form: 18*n-7. - Vladimir Joseph Stephan Orlovsky, Jul 13 2011
LINKS
MATHEMATICA
Select[ Range[ 2000 ], PrimeQ[ # ] && Mod[ #, 9 ] == 2 & ]
Join[{2}, Select[Range[11, 5000, 18], PrimeQ]] (* Vladimir Joseph Stephan Orlovsky, Jul 13 2011 *) (* ~30 times faster *)
PROG
(Magma)[ p: p in PrimesUpTo(2000) | p mod 9 in {2} ]; // Vincenzo Librandi, Dec 25 2010
(PARI) select(n->n%9==2, primes(400)) \\ Charles R Greathouse IV, May 27 2014
CROSSREFS
Sequence in context: A213522 A136317 A090389 * A046500 A062123 A345213
KEYWORD
nonn,easy
AUTHOR
Amarnath Murthy, Apr 23 2001
EXTENSIONS
More terms from Robert G. Wilson v, May 10 2001
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 10:34 EDT 2024. Contains 371967 sequences. (Running on oeis4.)