Let x be an element in a ring with identity, and suppose $\displaystyle x^{n} = 0$ for some positive integer n.

Now i want to proof that $\displaystyle (1+x)$ is a unit.

I tried to use $\displaystyle (1+x)(1-x+x^2-x^3+...) =1$ but i can't solve it. Any hints?