综合讨论版 #392574 层

A lattice path problem

楼主 · 1 楼
(1) A lattice path in the plane is a sequence of steps of the form (1, 0), (0, 1), (-1, 0), and (0, -1). Let \(a^{n}_{(i,j)}\) a ( i,j) n be the number of lattice paths of length n (that is, containing n steps) that start at the origin and end at the point (i, j). For example,\(a^{3}_{(-1,2)} =3\) a ( -1,2) 3 =3 , since there three lattice paths of length 3 going from (0, 0) to (-1, 2), and \(a^{2}_{(0,0)} =4\) a ( 0,0) 2 =4 (note that a lattice path may trace some segments more than once.)
(a) Find a formula for \(a^{i+j}_{(i,j)}\) a ( i,j) i +j involving binomial coefficients when i, j are non-negative integers.
(b) Let
\(f(x, y, z) = sum {a^{n}_{(i,j)}x^{i}y^{j}z^{n}}\) f (x,y,z)=suma ( i,j) n x i y j z n
Show that the coefficient of \(z^{n}\) z n in f(x, y, z) is
\((x+x^{-1}+y+y^{-1})^{n}\) ( x+x - 1+y+y - 1) n

最后的公式我无法编辑出来,麻烦大家看附件吧

(a)的答案我认为是 (i+j) choose i
(b)我被卡住了post-32-1165785816.ibf
2 楼
(b) \(\[(x+x ^{-1}+y+y ^{-1} ) ^{n} \]\) ( x+x - 1+y+y - 1) n 展开,每一项提供 \(\[ x,x ^{-1},y,y ^{-1} \]\) x ,x - 1,y,y - 1 中的一个,若是x,就是向右走一步,x-1就是向左走一步,y是向上走一步,y-1是向下走一步,(次数是n表示走n步),最后x^i*y^j就表示从(0,0)走到(i,j),对应的系数就是走的方法数.
3 楼
©对n!/(k!(k+i)!m!(m+j)!) 求和,其中k,m是非负整数,满足2k+i+2m+j=n
4 楼
明白了,谢谢!