Recursionmedium
0:00.0

Solve the non-homogeneous recurrence an=2an1+3a_n = 2a_{n-1} + 3 with a0=1a_0 = 1. The general solution is an=A2n+Ba_n = A \cdot 2^n + B where AA and BB are constants determined by the initial condition. Find A+BA + B.