Grade 7 Mathematics, an equation for a pattern

How would I write an algebraic equation for when in a pattern, the blocks double each time?

Example of an equation:If the pattern was:Term 1, 7 blocks
Term 2, 8 blocks
Term 3, 9 blocks
Then the equation would be (n+6), with n being the term number.

In my case, the pattern is as follows. (Exact quote)
"Use each description to create an algebraic expression for the pattern rule."
"The number of blocks doubles each time."
I conclude from this that the pattern will be:Term 1, 1 block
Term 2, 2 blocks
Term 3, 4 blocks
Term 4, 8 blocks
Term 5, 16 blocks

So, what equation would I use to go about calculating the number of blocks in the 50th term?

About the bold text, when I typed this it became bold, and I can't seem to get rid of the effect. So I decided a fully bold post would still be kind of pretty.

Edit: 2^(n-1) seems to be correct, so this can be locked, or whatever.