login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Triangle T(n,k) read by rows: A051731(n,k) - A051731(n-1,k).
2

%I #9 Dec 17 2019 05:34:14

%S 1,0,1,0,-1,1,0,1,-1,1,0,-1,0,-1,1,0,1,1,0,-1,1,0,-1,-1,0,0,-1,1,0,1,

%T 0,1,0,0,-1,1,0,-1,1,-1,0,0,0,-1,1,0,1,-1,0,1,0,0,0,-1,1,0,-1,0,0,-1,

%U 0,0,0,0,-1,1,0,1,1,1,0,1,0,0,0,0,-1,1,0,-1,-1,-1,0,-1,0,0,0,0,0,-1,1,0,1

%N Triangle T(n,k) read by rows: A051731(n,k) - A051731(n-1,k).

%C The recurrence for this triangle is similar to the recurrence in A177517. Cumulative column sums give table A051731.

%F T(n,1)=A000007, k > 1: T(n,k) = (Sum_{i=1..k-1} T(n-i,k-1)) - (Sum_{i=1..k-1} T(n-i,k)).

%e Triangle begins:

%e 1;

%e 0, 1;

%e 0, -1, 1;

%e 0, 1, -1, 1;

%e 0, -1, 0, -1, 1;

%e 0, 1, 1, 0, -1, 1;

%e 0, -1, -1, 0, 0, -1, 1;

%e 0, 1, 0, 1, 0, 0, -1, 1;

%e 0, -1, 1, -1, 0, 0, 0, -1, 1;

%e 0, 1, -1, 0, 1, 0, 0, 0, -1, 1;

%e 0, -1, 0, 0, -1, 0, 0, 0, 0, -1, 1;

%e 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, -1, 1;

%e 0, -1, -1, -1, 0, -1, 0, 0, 0, 0, 0, -1, 1;

%e 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, -1, 1;

%o (Excel cell formula, American) =if(column()=1, if(row()>1,0,1), if(row()>=column(), sum(indirect(address(row()-column()+1, column()-1, 4)&":"&address(row()-1, column()-1, 4), 4))-sum(indirect(address(row()-column()+1, column(), 4)&":"&address(row()-1, column(), 4), 4)), 0))

%o (Excel cell formula, European)=if(column()=1; if(row()>1;0;1); if(row()>=column(); sum(indirect(address(row()-column()+1; column()-1; 4)&":"&address(row()-1; column()-1; 4); 4))-sum(indirect(address(row()-column()+1; column(); 4)&":"&address(row()-1; column(); 4); 4)); 0))

%Y Matrix inverse of A134540. Cf. A177517.

%K sign,tabl

%O 1,1

%A _Mats Granvik_, May 16 2010

%E Typo in sequence (erroneous comma) corrected by _N. J. A. Sloane_, May 22 2010

%E Edited by _Mats Granvik_, Dec 11 2010