I was studying a proof and there was this line:
$\sum_n^h2^n = 1+2+4+ ... +2^{h-1} + 2^{h} = 2^{h+1} -1$ where (n = 0,1,2,...)
It's been a while since I studied series, can someone help me understand why this is the case? I checked with input and it worked. Are they using some property of series or is it something totally obvious that I'm missing?
Thanks in advance!