1,1
The n-th partial sum of the primes minus the n-th partial sum of the non-primes.
a(n)= A007504(n)-A051349(n-1). - R. J. Mathar, Jul 31 2009
a(1)=A161671(1)=2. a(2)=a(1)+A161671(2)=2+2=4. a(3)=a(2)+A161671(3)=4+1=5.
Cf. A000040, A141468, A161671.
Sequence in context: A166944 A073894 A056635 this_sequence A003306 A136585 A122721
Adjacent sequences: A163113 A163114 A163115 this_sequence A163117 A163118 A163119
nonn
Juri-Stepan Gerasimov (2stepan(AT)rambler.ru), Jul 21 2009
Corrected from a(9) on by R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Jul 31 2009
Search completed in 0.002 seconds