Recurrence Relationsmedium
0:00.0

Verify that an=23n(1)na_n = 2 \cdot 3^n - (-1)^n satisfies the recurrence an=2an1+3an2a_n = 2a_{n-1} + 3a_{n-2} by substituting into both sides.