OFFSET
0,2
COMMENTS
These are the row-sums of the triangle-version of A377051.
EXAMPLE
The sixth antidiagonal of A377051 is (8, 1, -1, -2, -3, -4, -5), so a(6) = -6.
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}]
CROSSREFS
KEYWORD
sign
AUTHOR
Gus Wiseman, Oct 22 2024
STATUS
approved