Summation of 2 to the Power R From 0 to N