OFFSET
0,3
LINKS
EXAMPLE
The array begins
1 1 0 5 0 55 0 ...
0 1 3 5 48 55 ...
2 2 8 39 103 ...
0 12 27 152 ...
15 15 190 ...
0 221 ...
MAPLE
aaa := proc(m, n) option remember; local j, s, t1; if m=0 and n=0 then RETURN(1); fi; if n = 0 and m mod 2 = 1 then RETURN(0); fi; if m = 0 and n mod 2 = 0 then RETURN(0); fi; s := m+n; if s mod 2 = 1 then t1 := aaa(m+1, n-1); for j from 0 to n-1 do t1 := t1+aaa(m, j); od: else t1 := aaa(m-1, n+1); for j from 0 to m-1 do t1 := t1+aaa(j, n); od: fi; RETURN(t1); end; # the n-th antidiagonal in the up direction is aaa(n, 0), aaa(n-1, 1), aaa(n-2, 2), ..., aaa(0, n)
MATHEMATICA
max = 22; t[0, 0] = 1; t[0, _?EvenQ] = 0; t[_?OddQ, 0] = 0; t[n_, k_] /; OddQ[n+k](* up *):= t[n, k] = t[n+1, k-1] + Sum[t[n, j], {j, 0, k-1}]; t[n_, k_] /; EvenQ[n+k](* down *):= t[n, k] = t[n-1, k+1] + Sum[t[j, k], {j, 0, n-1}]; tnk = Table[t[n, k], {n, 0, max}, {k, 0, max-n}]; Join[{1}, Rest[Union[tnk[[1]], tnk[[All, 1]]]]](* Jean-François Alcover, May 16 2012 *)
CROSSREFS
KEYWORD
easy,nonn,nice
AUTHOR
N. J. A. Sloane, Jan 18 2001
EXTENSIONS
More terms from Floor van Lamoen, Jan 19 2001; and from N. J. A. Sloane Jan 20 2001.
STATUS
approved