[Hint write \(a^n = (a - b + b)^n\) and expand]
Show solutionHide solution
We must prove that for distinct integers \(a\) and \(b\), and every positive integer \(n\), the integer \(a-b\) divides \(a^n-b^n\).
Use the hint and write \(a=(a-b)+b\). Then by the binomial theorem,
\[ a^n=\bigl((a-b)+b\bigr)^n =\sum_{k=0}^{n}\binom{n}{k}(a-b)^k b^{\,n-k}. \]Separate the \(k=0\) term:
\[ a^n=b^n+\sum_{k=1}^{n}\binom{n}{k}(a-b)^k b^{\,n-k}. \]Hence
\[ a^n-b^n=\sum_{k=1}^{n}\binom{n}{k}(a-b)^k b^{\,n-k}. \]Every term on the right contains a factor \((a-b)\), because \(k\ge 1\). Therefore
\[ a^n-b^n=(a-b)\sum_{k=1}^{n}\binom{n}{k}(a-b)^{k-1}b^{\,n-k}. \]The second factor is an integer, since \(a\), \(b\), the binomial coefficients, and powers of integers are integers. Thus \(a-b\) is a factor of \(a^n-b^n\).
Equivalently, \(a^n-b^n\) is divisible by \(a-b\) for every positive integer \(n\). The condition that \(a\) and \(b\) are distinct ensures \(a-b\neq 0\), so division by \(a-b\) is legitimate. This completes the proof.