Consider an irreducible Markov chain with an invariant distribution $\pi$. Then show that if $\pi(x)>0$ for some $x \in S$, where $S$ is the state space, then $x$ is recurrent.
Here's what I was trying: so we know that $P_x(T_y<\infty)>0$ for any $x,y\in S $ by irreducibility and that $\pi(x)=\sum_{y \in S}\pi(y)p_{xy} = \lim_{n \rightarrow \infty} p_{zx}^{(n)}>0$.
We want to show that $P_x(T_x<\infty)=1$ or equivalently that $E_x(N(x))=\infty$ where $N(x)$ is the number of returns to $x$.
Could anyone give me a hint as I'm running into too many dead ends?