<h3>
Answer: 31</h3>
=======================================
Work Shown:
Use the value of a0 to find the value of a1. The idea is you double the previous value, and then add 1.
Which is then used to find the value of a2. Follow the same process as before (double the previous value and then add 1).
This is used to find a3
Finally we can now find a4
Recursive sequences like this aren't too bad if n is small, but as n gets larger, things become more tedious. For those cases, its best to try to find a closed form equation. If not, then the next best thing is using a spreadsheet to automate the process.