Recursionhard
0:00.0

Which closed-form solution satisfies the recurrence an=2an1an2a_n = 2a_{n-1} - a_{n-2} with a0=1a_0 = 1 and a1=3a_1 = 3?