Let Xn be a Markov Chain on state space {1,2,3,4,5} with transition
matrix
P = [0 0.5 0.5 0 0
0 0 0 0.2 0.8
0 0 0 0.4 0.6
1 0 0 0 0
0.5 0 0 0 0.5]
(a) Is the chain irreducible? Is it periodic?
(b) Suppose that X0 = 1. What is the expected number of steps until the pattern of
states (2,5,1,3,4,1,2,5,1,3,4,1,2,5) appears?
(c) Suppose that X0 = 1. What is the expected number of times the Markov Chain will see pattern of states 3412 before seeing pattern of states 251?
(d) Again suppose that X0 = 1. What is the probability that the chain reaches the sequence 251 at n=10 the first time?