I'm trying to reboot my memory with the long-forgotten algebra that I used to know — way back in high school.
Please, help put my memory back on track? What are the algebraic steps that are missing from the transformation of this algebraic expression?
\begin{align*} 2^{\log_2 n+1} - 1 &= \quad?\\ &= \quad?\\ &= \quad?\\ &= \quad?\\ &= \quad...\\ &= \quad2n - 1\\ \end{align*}
Me being out of high school for a couple years at this point — and my algebra chops being practically non-existent, as a result — I would not be offended in the least if you'd elaborate on your answer, at the ELI5-level.
Like, I recall the meanings of one or two mathematical concepts like, "Multiplicative Property", "Commutative Property", and what-have-you.
I've already given it my best shot (like, 4 days of trawling Google and YouTube). I've proven to myself that plugging any arbitrary value into $n$ on both sides of the equation, works out as expected.
But I'm stumped when I try to apply what little algebra I do recall, to how exactly to end up with the $2n - 1$ expression. Help a guy out?
Thanks in advance.
EDIT: Oops! I meant to say, $2^{\log_2 n+1} - 1$ instead of $2^{\log_2 n} - 1$ My bad. I've corrected my innocent typo to make the $n+1$ exponent, look exactly like it's typeset in the book from which it originates. (see page 31 | (Equation 2.8))