A176047 Triangle t(n,m) = A004001(m+1)+A004001(n-m+1)-A004001(n+1) read by rows, 0<=m<=n.
1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 2, 1, 1, 2, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0, -1, 0, 1, 0, -1, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0
Offset: 0
Examples
1; 1, 1; 1, 0, 1; 1, 1, 1, 1; 1, 0, 1, 0, 1; 1, 0, 0, 0, 0, 1; 1, 1, 1, 0, 1, 1, 1;
Programs
Extensions
Mutually compatible definition and terms installed. Erroneous row sums removed. - R. J. Mathar, Jul 11 2012