Consider the Markov chain whose states are {1,2,3,4,5} and whose transition probability matrix is:
0.5 0 0.5 0 0
0.25 0.5 0.25 0 0
0.5 0 0.5 0 0
0 0 0 0.5 0.5
0 0 0 0.5 0.5
P =
Specify the classes of the following Markov chains, and determine whether they are transient or recurrent