limit x to 1 ((sum i = 1 to n x^i) - n)/(x-1)