Consider a Markov chain $ (X_n)_{n\geq 0} $ with state space $E$, initial distribution $p(0)$ and transition probability matrix $P$ given by $E = \{0, 1, 2\}, p(0) = [1\;\; 0\;\; 0]$ and
$$ P= \begin{bmatrix}1/2 & 1/3 & 1/6\\0 & 2/3 & 1/3 \\0 & 0 & 1 \end{bmatrix}.$$
Find $E[T]$ for $T = \min(n, X_n = 2).$
I know how to solve this in the usual way but I'm wondering about this solution:
$$E[T] = E[Y \mbox{ with }p=1/2] + (1/3) 0 + (2/3) E[Y\mbox{ with }p = 1/3] = 2 + 0 + (2/3)3 = 4$$
where $Y$ should be the discrete waiting time random variable.
Anyone know what's going on here?