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!)
A171504 a(n) = n-th nonprime + n. 1
2, 6, 9, 12, 14, 16, 19, 22, 24, 26, 29, 32, 34, 36, 39, 41, 43, 45, 47, 50, 53, 55, 57, 59, 61, 64, 66, 68, 71, 74, 76, 78, 81, 83, 85, 87, 89, 92, 94, 96, 98, 100, 103, 106, 108, 110, 112, 114, 117, 119 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Complement of A171512(n). - Jaroslav Krizek, Dec 13 2009
LINKS
FORMULA
a(n) = A018252(n) + n.
EXAMPLE
For n=3: 3rd nonprime is 6, 6 + 3 = 9.
PROG
(PARI) lista(nn) = {vn = vector(nn, n, n); vp = select(x->(! isprime(x)), vn); for (n=1, #vp, print1(vp[n] + n, ", ")); } \\ Michel Marcus, Feb 02 2015
CROSSREFS
Sequence in context: A287126 A270095 A153043 * A287445 A119720 A173978
KEYWORD
nonn
AUTHOR
Jaroslav Krizek, Dec 10 2009
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 24 00:30 EDT 2024. Contains 371917 sequences. (Running on oeis4.)