Consider a Markov chain having state space $S = \{1,2,3,4\}$ with transition probability matrix $P = (p_{i,j})$ given by
$$\begin{matrix} & \begin{matrix} 1 & \quad 2 & \quad 3 & \quad 4 \end{matrix} \\ \begin{matrix} 1 \\ 2 \\ 3 \\ 4 \end{matrix} & \begin{bmatrix} 1/2 & 0 & 1/2 & 0 \\ 1/4 & 1/4 & 1/4 & 1/4 \\ 1/3 & 0 & 1/3 & 1/3 \\ 1/2 & 0 & 1/2 & 0 \end{bmatrix} \end{matrix}$$
Then
We need to analyze the behavior of the Markov chain described by the transition probability matrix $P$ for state 2.
The state space is $S = \{1, 2, 3, 4\}$ and the transition matrix is:
$ P = \begin{bmatrix} 1/2 & 0 & 1/2 & 0 \\ 1/4 & 1/4 & 1/4 & 1/4 \\ 1/3 & 0 & 1/3 & 1/3 \\ 1/2 & 0 & 1/2 & 0 \end{bmatrix} $
We are interested in the properties of state 2, specifically $\lim_{n \to \infty} p_{2,2}^{(n)}$ and $\sum_{n=0}^\infty p_{2,2}^{(n)}$.
Combining the findings:
This corresponds to the properties of a transient state in a Markov chain.
The following bus schedule is seen at a bus stop located somewhere in between town A and town B.
Town A-00:10, then every 20 mins
Town B-00:15, then every 20 mins
If a person arrives at this bus stop at some random time, the probability that the next bus is for town B is