login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A117668 Numbers a(n) such that if n is prime, a(n) is the n-th prime number and if n is not prime, a(n) is the n-th nonprime number (A002808). 0
1, 3, 5, 8, 11, 10, 17, 14, 15, 16, 31, 20, 41, 22, 24, 25, 59, 27, 67, 30, 32, 33, 83, 35, 36, 38, 39, 40, 109, 44, 127, 46, 48, 49, 50, 51, 157, 54, 55, 56, 479, 58, 191, 62, 63, 64, 211, 66, 68, 69, 70, 72, 241, 75, 76, 77, 78, 80, 277, 82, 283, 85, 86, 87, 88, 90, 331, 92 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Table of n, a(n) for n=1..68.

EXAMPLE

a(1) is the first nonprime: 1.

a(2) is the second prime: 3.

CROSSREFS

Sequence in context: A127700 A101907 A242250 * A184410 A184332 A050098

Adjacent sequences:  A117665 A117666 A117667 * A117669 A117670 A117671

KEYWORD

nonn

AUTHOR

Luc Stevens (lms022(AT)yahoo.com), Apr 11 2006

EXTENSIONS

Definition corrected by Michel Marcus, Jun 01 2013

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 20 08:42 EDT 2019. Contains 322306 sequences. (Running on oeis4.)