Suppose the cycle $(i \ \sigma(i) \ \sigma^2(i)\ \dots \ \sigma^n(i))$ does not have repeated elements, but the cycle $(i \ \sigma(i) \ \sigma^2(i) \ \dots \ \sigma^{n+1}(i))$ does have repeated elements. The problem is to find $\sigma^{n+1}(i)$.
The first list can be decomposed into a product of transpositions, whereas it looks like the second list cannot. The element $\sigma^{n+1}$ has to be one of the elements $\sigma^{k}$ for some $1\leq k \leq n$, but the problem seems too vague to actually determine what that element is.
I'd like some hints.
Hint: Look at an explicit example. Let $\sigma = (1\,2\,3\,4\,5)$, the cycle that maps $1 \mapsto 2 \mapsto 3 \mapsto 4 \mapsto 5 \mapsto 1$. Say $i=1$, and look at the finite sequence $\{\sigma^k(i)\}$ for $0 \leq i \leq 4$: $$ \{1, 2, 3, 4, 5\}, $$ so with $n=4$, the orbit consists of distinct elements. But the next power wraps the cycle back around: with $n+1 = 5$, we have $\sigma^5(1) = 1$, and this already belongs to the orbit.
Now, convince yourself that
In other words, we can conjecture:
Claim. For any cycle of length $n+1$ including $i$, numbers $\{i, \sigma(i), \dots, \sigma^n(i)\}$ are distinct and $\sigma^{n+1}(i) = i$.
But why? (Try it yourself before revealing.)