Show that if a Markov chain is irreducible and has a state $s_i$ such that $P_{ii}>0$, then it is also aperiodic.
Proof: Let $X=(X_0, X_1, X_2, \dots)$ be an irreducible Markov chain with a state $s_i$ such that $P_{ii}>0$. Recall a Markov chain $(X_0,X_1,\dots)$ with state space $S=\{s_1,s_2,\dots\}$ and transition matrix $P$ is said to be \textit{irreducible} if for all $s_i, s_j\in S$ we have that $s_i\iff s_j$. We need to show that $X$ is also aperiodic.
A Markov chain is said to be aperiodic if all its states are aperiodic. The period $$d(s_i)=\gcd\{n\geq 1: (P^n)_{i,i}>0\}$$ of a state $s_i\in S$. If $d(s_i)=1$, then we say that the state $s_i$ is aperiodic.
Where do I go from here?