

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


n≥ 0
f (n)
xn n! = exp(x +
x^2 2
Evaluate the sum (^) n ∑
i=
(−1)n−i
n i
f (i).
Solution. Let g(n) =
∑n i=0(−1)
n−i(n i
f (i), and G(x) =
n≥ 0 g(n)x
n/n!. Since g(n) is the convo-
lution of f (n) and an = (−1)n, G(x) = e−xF (x) = ex (^2) / 2 =
n≥ 0 (x (^2) /2)n/n!. Thus g(n) = 0 if n is
odd, and it is n!/(2mm!) = (n − 1)!! if n = 2m.
Exercises on page 43. Solutions.
1 , 4 , 4 , 2
1 , 4 , 2 , 1
2.(a). Prove for x positive integers. The RHS counts the number of n-subset of [x + n + 1]. For any n-subset S of [x + n + 1], let x + i + 1 be the largest integer that is not in S. Then 0 ≤ i ≤ n. In this case, S contains x + i + 2, x + i + 3,... , x + n + 1 and other i elements from [x + i]. There are
(x+i i
many ways to choose these i elements. Hence ( x + n + 1 n
∑^ n
i=
x + i i
(b). See solution on page 52.
See solution on page 52.
For part (a), see solution. For part (b), note that
(n k
= 0 if n or k < 0, and
( 2 n− 1 n
( 2 n n
for n > 0. So ∑
n≥ 0
2 n − 1 n
xn^ =
n> 0
2 n n
xn^ =
((1 − 4 x)−^1 /^2 − 1).
f (m, n)xmyn^ = x^1 y^0 f (m − 1 , n)xm−^1 yn^ + x^0 y^1 f (m, n − 1)xmyn−^1 + x^1 y^1 f (m − 1 , n − 1)xm−^1 ,n−^1 (1)
for m ≥ 1 , n ≥ 1. For boundary conditions, we have
f (m, 0)xmy^0 = x^1 y^0 f (m − 1 , n)xm−^1 y^0 , m ≥ 1 , (2) f (0, n)x^0 yn^ = x^0 y^1 f (0, n − 1)x^0 yn−^1 , n ≥ 1. (3)
Sum over (1),(2),(3) for m ≥ 1 , n ≥ 1. If F (x, y) =
m≥o
n≥ 0 f^ (m, n)x myn, then
F (x, y) − 1 = xF (x, y) + yF (x, y) + xyF (x, y).
It follows F (x, y) = (1 − x − y − xy)−^1. Another way to do it is to use generating functions. Let fk(m, n) be the number of paths from (0, 0) to (m, n) using exactly k steps, and
Fk(x, y) =
m≥ 0 ,n≥ 0
fk(m, n)xmyn.
Clearly F 0 (x, y) = 1, and F 1 (x, y) = x + y + xy. Given a position (m, n), adding one more step will reach positions (m + 1, n), or (m, n + 1), or (m + 1, n + 1). Hence
Fk+1(x, y) = Fk(x, y)(x + y + xy).
So Fk(x, y) = (x + y + xy)k. It follows
F (x, y) =
k≥ 0
Fk(x, y) = (1 − x − y − xy)−^1.
(1 − x)−m^ =
j≥ 0
−m j
(−x)j^ =
j≥ 0
m + j − 1 j
xj^.
The general method to solve this type of problem is to (1) substitute x = s and y = t/s, and (2) use Residue theorem or partial fractions. In this particular problem, we don’t need to use those big machines! –Those methods are covered in EC, vol 2, Chapter 6, if you are interested.
many such b sequences.