Recurrence Relationsmedium
0:00.0

Identify the type of the recurrence an=3an1+n2+2na_n = 3a_{n-1} + n^2 + 2^n.