this is kind of a follow on from my previous post.

= c(2^{n + 1} - 1)

What I don't understand is how we get from the 3rd step to the 4th. If n is 5 then it will take 31 moves, which is what we have up to the 3rd step. Then the is 32 alone. What am i missing?

thanks.