Sum of the series: (1+x)+(1+x+x2)+(1+x+x2+x3)+... upto n terms
The value oflimx→1xn+xn−1+xn−2+.......+x2+x−nx−1