Let $A$ denote a positive matrix in $\mathcal{M}_n(\mathbb{R})$.
Show that if there exists in $A$ a path from $i$ to $j$, with $i \neq j$, then there exists an elementary path from $i$ to $j$ of length $\ell \leqslant n-1$. Similarly, show that if there exists in $A$ a circuit passing through $i$, then there exists an elementary circuit passing through $i$ of length $\ell \leqslant n$.