This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A163116 #5 Jul 16 2015 21:54:05 %S A163116 2,4,5,6,9,13,20,27,36,50,65,84,105,127,152,181,215,250,290,333,376, %T A163116 423,473,528,590,655,720,788,857,928,1011,1097,1188,1279,1379,1480, %U A163116 1586,1697,1810,1928,2051,2175,2308,2441,2576,2712 %N A163116 Partial sums of A161671. %C A163116 The n-th partial sum of the primes minus the n-th partial sum of the nonprimes. %F A163116 a(n) = A007504(n) - A051349(n-1). - _R. J. Mathar_, Jul 31 2009 %e A163116 a(1) = A161671(1) = 2. %e A163116 a(2) = a(1) + A161671(2) = 2 + 2 = 4. %e A163116 a(3) = a(2) + A161671(3) = 4 + 1 = 5. %Y A163116 Cf. A000040, A141468, A161671. %K A163116 nonn %O A163116 1,1 %A A163116 _Juri-Stepan Gerasimov_, Jul 21 2009 %E A163116 Corrected from a(9) on by _R. J. Mathar_, Jul 31 2009