In Feller, one finds the following theorem: Let Mn be the random variable which gives the maximum value of Sk, for 1≤k≤n. Define
pn,r=(2n+rn)2−n.
If r≥0, then
P(Mn=r)={pn,r,pn,r+1,if r≡n(mod2),if r≡n(mod2).
(a) Using this theorem, show that
E(M2m)=22m1k=1∑m(4k−1)(m+k2m),
and if n=2m+1, then
E(M2m+1)=22m+11k=0∑m(4k+1)(m+k+12m+1).
(b) For m≥1, define
rm=k=1∑mk(m+k2m)
and
sm=k=1∑mk(m+k+12m+1).
By using the identity
(kn)=(k−1n−1)+(kn−1),
show that
sm=2rm−21(22m−(m2m))
and
rm=2sm−1+2122m−1,
if m≥2.
(c) Define the generating functions
R(x)=k=1∑∞rkxk
and
S(x)=k=1∑∞skxk.
Show that
S(x)=2R(x)−21(1−4x1)+211−4x
and
R(x)=2xS(x)+x(1−4x1).
(d) Show that
R(x)=(1−4x)3/2x,
and
S(x)=21((1−4x)3/21)−21(1−4x1).
(e) Show that
rm=m(m−12m−1),
and
sm=21(m+1)(m2m+1)−21(22m).
(f) Show that
E(M2m)=22m−1m(m2m)+22m+11(m2m)−21,
and
E(M2m+1)=22m+1m+1(m+12m+2)−21.
The reader should compare these formulas with the expression for g2m/2(2m) in Example 12.3.