Recursionhard
0:00.0

What is the closed-form solution to an=2an−1+1a_n = 2a_{n-1} + 1 with a0=1a_0 = 1?