I am trying to understand why the following equation holds true:
$$\frac{x^{n}-1}{x+1} = x^{n-1} - x^{n-2} + \cdots - 1$$
where $n$ is even.
Using the long division, I was able to recover the first few terms on the right hand side, so I am convinced that it is true. But I would like to find an alternative argument. I think it might have something to do with power series, but I could not find the appropriate argument.