OFFSET
0,5
EXAMPLE
Triangle begins:
1,
1,1,
1,2,1,
1,1,1,1,
1,2,2,2,1,
1,1,0,0,1,1,
1,2,1,0,1,2,1,
1,1,1,1,1,1,1,1,
1,2,2,2,2,2,2,2,1,
1,1,0,0,0,0,0,0,1,1,
1,2,1,0,0,0,0,0,1,2,1,
1,1,1,1,0,0,0,0,1,1,1,1,
1,2,2,2,1,0,0,0,1,2,2,2,1,
1,1,0,0,1,1,0,0,1,1,0,0,1,1,
1,2,1,0,1,2,1,0,1,2,1,0,1,2,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,
1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1
PROG
(PARI) p = 2; s = 13; T=matrix(s, s); T[1, 1]=1; for(n=2, s, T[n, 1]=1; for(k=2, n, T[n, k]=T[n-1, k-1]%p+T[n-1, k]%p)); for(n=1, s, for(k=1, n, print1(T[n, k], ", ")))
CROSSREFS
KEYWORD
AUTHOR
Gerald McGarvey, Oct 10 2009
STATUS
approved