OFFSET
0,2
COMMENTS
These are row-sums of the triangle-version of A377038.
EXAMPLE
The fourth antidiagonal of A377038 is (6,1,-1,-2,-3), so a(4) = 1.
MATHEMATICA
nn=20;
t=Table[Take[Differences[NestList[NestWhile[#+1&, #+1, !SquareFreeQ[#]&]&, 1, 2*nn], k], nn], {k, 0, nn}];
Total/@Table[t[[j, i-j+1]], {i, nn}, {j, i}]
CROSSREFS
KEYWORD
sign,new
AUTHOR
Gus Wiseman, Oct 18 2024
STATUS
approved