login
This site is supported by donations 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. 1
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; 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.

FORMULA

a(n) = A065855(n) - A000720(n).

CROSSREFS

Cf. A002808, A000040.

Sequence in context: A107393 A197366 A047885 * A129174 A129175 A063053

Adjacent sequences:  A072728 A072729 A072730 * A072732 A072733 A072734

KEYWORD

sign

AUTHOR

Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Aug 08 2002

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 14 05:41 EST 2012. Contains 205570 sequences.