Hello,

I am trying to solve a summation but i keep getting the wrong answer:

summation of 2^i from i=0 to i=h/2

I have tried using the geometric series equation and have gotten:(2^((h/2)+1) - 1) / (2-1) which simplifies to 2^((h/2)+1) - 1 but I don't know how to simplify it from there, assuming it is correct. The answer is said to be: 2^(h+1) - 1. Any help would be very much appreciated. Thank you!