Solution
= Solution
The renewal-reward form of <Kac's lemma> says that the expected number of visits to state $i$ during one return cycle from $k$ to $k$ is
$$
\boxed{\frac{\pi_i}{\pi_k}}.
$$
Here time spent means the number of discrete time instants at which the chain occupies $i$ between consecutive visits to $k$.