Let $X_n$ be an positive recurrent, aperiodic Markov Chain and $T_0$ be the time of first return to state $0$. We learned in class that the invariant measure $\mathbf{y}$ of a Markov Chain can be written
$$y_i=\mathbf{E}\left[ \sum_{i=n}^\infty \mathbf{1}\{X_n=y_i\}\mathbf{1}\{n\leq T_0\}\right], \text{ and setting } y_0=1.$$
In other words, the entries of $\mathbf{y}$ are the number of visits to that state before returning to state $0$. This definition produces an invariant measure with entries $\in\mathbb{N}$. Since the stationary distribution $\mathbf{\pi}$ is just a normalized version of the unique invariant measure, does that mean that it's entries of $\mathbf{\pi}$ are always rational, even if the entries of the transition probability matrix aren't rational?
Since the stationary distribution of a Markov Chain is an eigenvector of the TPM, this would imply that matrices with transcendental components would always have a rational eigenvector, which seems... wrong.