f(x)=\frac{x^n}{1-x}