login
Partial sums of A108754.
0

%I #19 Jul 27 2019 12:10:57

%S 1,2,3,4,7,12,21,34,53,82,121,174,243,328,431,556,707,884,1091,1330,

%T 1601,1908,2253,2640,3075,3560,4095,4682,5321,6014,6773,7600,8499,

%U 9470,10521,11652,12867,14170,15563,17050,18635,20318,22107,24002,26005,28116,30345

%N Partial sums of A108754.

%C Partial sums of the difference between partial sums of the first n primes and n^2.

%e a(6) = Sum_{k=1..6} A108754(k) = 1+1+1+1+3+5 = 12.

%t With[{nn = 48}, Accumulate@ Map[Subtract @@ # &, Transpose@ {Accumulate@ Prime@ Range[nn], Range[nn]^2}]] (* _Michael De Vlieger_, Apr 21 2019 *)

%Y Cf. A108754.

%K nonn

%O 1,2

%A _Jorge H. Costa_, Apr 20 2019

%E More terms from _Michael De Vlieger_, Apr 21 2019