Suppose that $x\ne 1$ and $n\in\mathbb{N}^\*$. Prove with induction that
$$\sum\_{k=0}^{n-1}x^{k}=\frac{x^n-1}{x-1}$$

It seems simple but I have tried for I don't know how long by now... Anyone can manage this?