Show that if $(b^n-1)/(b-1)$ is the power of a prime number, where $b,n>1$ are positive integers, then $n$ must be a prime number.
My solution:
If $n$ is composite, then let $n=mk$, $m,k>1$, \begin{align*} \frac{b^n-1}{b-1} &= 1+b+\cdots+b^{n-1} \\ &=(1+b+\cdots+b^{k-1} )+(b^k+b^{k+1}+\cdots+b^{2k-1}) \\ &\quad\,+\cdots+(b^{(m-1)k}+b^{(m-1)k+1}+\cdots+b^{mk-1}) \\ &=(1+b+\cdots+b^{k-1})(1+b^k+\cdots+b^{(m-1)k}) \end{align*} Which is composite and distinct, thus, for $(b^n-1)/(b-1)$ to be a power of primes, $n$ is not composite, thus it must be prime.
However, $(1+b+\cdots+b^{k-1})(1+b^k+\cdots+b^{(m-1)k})$ might be equal to $p^x \times p^y$, where $p$ is prime.
Is there any better solution?