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!)
A168271 a(n) = prime(nonprime(n)) - nonprime(prime(n)). 0
1, 3, 5, 9, 7, 9, 12, 16, 14, 13, 17, 20, 17, 21, 25, 25, 21, 21, 17, 19, 35, 32, 28, 31, 25, 31, 33, 33, 39, 47, 33, 30, 47, 49, 39, 39, 37, 43, 44, 44, 43, 41, 38, 48, 58, 59, 47, 35, 50, 58, 55, 59, 71, 64, 61, 61, 62, 71, 75, 71, 81, 75, 62, 63, 69, 70, 57, 63, 59, 61, 63 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n)=A007821(n)-A144570(n).
CROSSREFS
Cf. A007821(the "nonprime primes"), A144570(the "prime nonprimes").
Sequence in context: A336849 A348994 A079427 * A081761 A357126 A280702
KEYWORD
nonn
AUTHOR
EXTENSIONS
Corrected (38 replaced by 28, 49 by 59) R. J. Mathar, Jun 04 2010
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 September 4 08:46 EDT 2024. Contains 375679 sequences. (Running on oeis4.)