### Recurrence relations

Hi, The general solution to 2a_{n+2} - 3a_{n+1} - 2a_n = 0 is a_n = A*2^n + B*(-1/2)^n I'm after the general solution for some variations on the above ... 2a_{n+2} - 3a_{n+1} - 2a_n = 36n 2a_{n+2} - 3a_{n+1} - 2a_n = 28 * 3^n 2a_{n+2} - 3a_{n+1} - 2a_n = 25 * 2^n