OFFSET
0,1
COMMENTS
Row sums are A059126. Diagonal sums are A117963. Could be called the Legendre-binomial matrix for p=3.
The matrix square equals triangle A117939; the matrix log equals triangle A120854 divided by 2. - Paul D. Hanna, Jul 08 2006
FORMULA
T(n,k) = balanced ternary digit of C(n,k) mod 3. - Paul D. Hanna, Jul 08 2006
EXAMPLE
Triangle begins:
1;
1, 1;
1, -1, 1;
1, 0, 0, 1;
1, 1, 0, 1, 1;
...
PROG
(PARI) T(n, k)=(binomial(n, k)+1)%3-1 - Paul D. Hanna, Jul 08 2006
CROSSREFS
KEYWORD
AUTHOR
Paul Barry, Apr 05 2006
STATUS
approved