Recursionhard
0:00.0

A sequence is defined by an=2an1an2+6na_n = 2a_{n-1} - a_{n-2} + 6n with a0=0,a1=1a_0 = 0, a_1 = 1. What is the closed-form expression for ana_n?