Question:
Let $a$ be an integer different than $1$. Prove by induction, that for any $n \in\Bbb N$, $ a^n -1$ is divisible by $a-1$.
My attempt:
Base Case is trivial.
I.H: Assume $ a^k -1$ is divisible by $a-1$, $k \in N$
Then,
$$ a^{k+1} -1 = a\cdot a^k -1 + a^k -1 - a^k + 1 = a\cdot a^k - a^k + a^k -1 = (a^k)(a-1) + (a^k -1)$$which is divisible by $ a-1$.
Hence, proven by induction.
Is this the correct way to prove it using induction? Is there a more efficient way to prove it using induction?
Let $a>1$ be an integer. Prove by induction that for any $n \in \mathbb{N}$, $ a^n -1$ is divisible by $a-1$.
$\textbf{Proof}.$ Base case: let $n=1$. Then it is clear that $a-1|a-1$.
Induction hypothesis: assume that $a-1|a^k-1$ for some integer $k$. Consider $a^{k+1}-1$, which could be rewritten as $$ \begin{align*} a^{k+1}-1 &= a\cdot a^k + a^k-a^k-1 \\ &= a^k(a-1)+ (a^k-1). \\ \end{align*} $$ Since $a-1|a^k(a-1)$ and $a-1|a^k-1$ by the induction hypothesis, $a-1|a^{k+1}-1$.
Thus $a-1|a^n-1$.