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!)
A072731 Difference of numbers of composite and prime numbers <= n. 3
0, -1, -2, -1, -2, -1, -2, -1, 0, 1, 0, 1, 0, 1, 2, 3, 2, 3, 2, 3, 4, 5, 4, 5, 6, 7, 8, 9, 8, 9, 8, 9, 10, 11, 12, 13, 12, 13, 14, 15, 14, 15, 14, 15, 16, 17, 16, 17, 18, 19, 20, 21, 20, 21, 22, 23, 24, 25, 24, 25, 24, 25, 26, 27, 28, 29, 28, 29, 30, 31, 30, 31, 30, 31, 32, 33, 34 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
a(n+1) = a(n) + A066247(n) - A010051(n), a(1) = 0;
a(n) < 0 iff 1<n<=8.
LINKS
FORMULA
a(n) = A065855(n) - A000720(n).
a(n) = n - 2pi(n) - 1. [Wesley Ivan Hurt, Jun 16 2013]
CROSSREFS
Sequence in context: A245715 A337736 A047885 * A221169 A212212 A212213
KEYWORD
sign
AUTHOR
Reinhard Zumkeller, Aug 08 2002
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 August 16 21:21 EDT 2024. Contains 375191 sequences. (Running on oeis4.)