A376684 Antidiagonal-sums of the absolute value of the array A376682(n,k) = n-th term of the k-th differences of the noncomposite numbers (A008578).
1, 3, 4, 9, 12, 27, 50, 109, 224, 471, 942, 1773, 3118, 4957, 7038, 9373, 16256, 55461, 150622, 346763, 718972, 1377101, 2462220, 4114987, 6387718, 9112455, 12051830, 17160117, 40946860, 134463917, 349105370, 800713921, 1684145408, 3297536923, 6040907554
Offset: 0
Keywords
Examples
The fourth antidiagonal of A376682 is: (7, 2, 0, -1, -2), so a(4) = 12.
Crossrefs
This is the absolute version of A376683.
Programs
-
Mathematica
nn=12; t=Table[Take[Differences[NestList[NestWhile[#+1&,#+1,!PrimeQ[#]&]&,1,2*nn],k],nn],{k,0,nn}]; Total/@Table[Abs[t[[j,i-j+1]]],{i,nn},{j,i}]