For $n\in \mathbb N$, $n>1$ prove that $$2^n-1 \neq k^y$$ for all $k,y \in \mathbb N_{\geq 2}.$
Assuming for contradiction that there exists $(k,y)$ such that $2^n-1 = k^y$, I succeeded to prove that the pair does not exist for an even k, and for an even y.
I need to prove that it does also not exist for an odd y.
I need to use in this proof that
$$\frac{x^{2k+1}+1}{x+1} = x^{2k} -x^{2k-1}+\cdots+1.$$
Thank you!