|
|
A232969
|
|
The sequence S(n,n) that enumerates a certain class of lattice paths from (0,0) to (n,n).
|
|
2
|
|
|
1, 6, 60, 675, 7992, 97416, 1209951, 15227190, 193507056, 2477564820, 31910429520, 412987306320, 5366341375695, 69965422235442, 914825583252396, 11991475839917115, 157524763370404320, 2073261181622482080, 27333449595845251524, 360903785815145617992
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
COMMENTS
|
See Dziemianczuk for precise definition.
|
|
LINKS
|
|
|
MAPLE
|
b:= proc(x, y) option remember; `if`([x, y]=[0$2], 1,
`if`(x>0, add(b(x-1, y+j), j=-1..1), 0)+
`if`(y>0, b(x, y-1), 0)+`if`(y<0, b(x, y+1), 0))
end:
a:= n-> b(n$2):
|
|
MATHEMATICA
|
Table[Function[k, Sum[Sum[Binomial[k, j] Binomial[j, i - j] Binomial[2 k + n - i, k], {j, 0, i}], {i, 0, n + k}]]@ n, {n, 0, 19}] (* Michael De Vlieger, Jul 22 2017 *)
|
|
PROG
|
(PARI) \\ Dziemianczuk, Proposition 1
S(n, k)=sum(i=0, n+k, sum(j=0, i, binomial(k, j)*binomial(j, i-j)*binomial(2*k+n-i, k)));
|
|
CROSSREFS
|
Leading column of array in A232973.
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|