Recursionmedium
0:00.0

Consider the recurrence an=2an11a_n = 2a_{n-1} - 1 with a0=2a_0 = 2. What is the closed-form expression for ana_n?