I need the only if, or forward direction, of this proof. Explanation would also be helpful. I believe the solution involves the division algorithm.
Claim: if $a, m, n$ are positive integers with $a > 1$, Then $a^m - 1 \mid a^n - 1$ if and only if $m \mid n$.

Well, let's roll up our sleeves.
If you divide $a^m-1$ into $a^n-1$, assuming $m < n$ you get
$a^n -1 = (a^m-1)a^{n-m} + a^{n-m} -1$.
Then, assuming $n-m > m$, we get
$a^n-1 = (a^m -1)a^{n-m} + (a^m -1)a^{n-2m} + a^{n-2m} -1$.
So thinking about what this implies inductively:
If $n = qm + r$ then
If $q > 0$ then
$a^n - 1 = (a^m - 1)(a^{n-m} + a^{n-2m} + ....... + a^{n- qm}) + a^{n-qm} - 1$
(Just expand that out. You'll see it is so)
And $n-qm < m$ so $a^{n-qm} < a^m -1$. So $0 \le a^{n-qm} - 1 < a^m -1$.
So $a^{n-qm} - 1$ is a remainder.
So $a^m - 1|a^n-1$ if and only if $a^{n-qm} - 1 =0$ if and only if $n = qm$.
...
And if $q = 0$ then $m \ge n$ and $a^m - 1 \ge a^n-1$ so $a^m - 1|a^n -1$ if and only if $a^m-1 = a^n-1$ if and only if $n = m$.
So that's a full proof.