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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A163116 Partial sums of A161671. 1
2, 4, 5, 6, 9, 13, 20, 27, 36, 50, 65, 84, 105, 127, 152, 181, 215, 250, 290, 333, 376, 423, 473, 528, 590, 655, 720, 788, 857, 928, 1011, 1097, 1188, 1279, 1379, 1480, 1586, 1697, 1810, 1928, 2051, 2175, 2308, 2441, 2576, 2712 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

The n-th partial sum of the primes minus the n-th partial sum of the non-primes.

FORMULA

a(n)= A007504(n)-A051349(n-1). - R. J. Mathar, Jul 31 2009

EXAMPLE

a(1)=A161671(1)=2. a(2)=a(1)+A161671(2)=2+2=4. a(3)=a(2)+A161671(3)=4+1=5.

CROSSREFS

Cf. A000040, A141468, A161671.

Sequence in context: A166944 A073894 A056635 * A003306 A136585 A122721

Adjacent sequences:  A163113 A163114 A163115 * A163117 A163118 A163119

KEYWORD

nonn

AUTHOR

Juri-Stepan Gerasimov (2stepan(AT)rambler.ru), Jul 21 2009

EXTENSIONS

Corrected from a(9) on by R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Jul 31 2009

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 17 00:09 EST 2012. Contains 205978 sequences.