A377052 Antidiagonal-sums of the array A377051(n,k) = n-th term of k-th differences of powers of primes.
1, 3, 4, 5, 6, 13, -6, 45, -50, 113, -98, 73, 274, -1159, 3563, -8707, 19024, -36977, 64582, -98401, 121436, -81961, -147383, 860871, -2709964, 7110655, -17077217, 38873213, -85085216, 179965720, -367884935, 725051361, -1372311916, 2481473639, -4257624155
Offset: 0
Keywords
Examples
The sixth antidiagonal of A377051 is (8, 1, -1, -2, -3, -4, -5), so a(6) = -6.
Crossrefs
Programs
-
Mathematica
nn=20; t=Table[Differences[NestList[NestWhile[#+1&, #+1,!PrimePowerQ[#]&]&,1,2*nn],k],{k,0,nn}]; Total/@Table[t[[j,i-j+1]],{i,nn},{j,i}]
Comments