Recursionhard
0:00.0

Solve the non-homogeneous recurrence an=2an1+2na_n = 2a_{n-1} + 2^n with a0=1a_0 = 1.