And yet you had to add the phrase "only the final step will convert r to n," the meaning of which I don't understand. Even worse, the left-hand side of the equation in the quote in post #2 does not depend on n (n is a bound variable used as the summation index) while the right hand side does. And if n and r are reversed, then, as post #3 shows, the equation is incorrect.