Recurrence Relationsmedium
0:00.0

For the non-homogeneous recurrence an=3an12an2+n2a_n = 3a_{n-1} - 2a_{n-2} + n^2, the homogeneous roots are r1=2r_1 = 2 and r2=1r_2 = 1. Neither root equals 0. What form should the particular solution an(p)a_n^{(p)} have?