Recursionhard
0:00.0

A linear non-homogeneous recurrence is given by an=2an1+nka_n = 2a_{n-1} + n^k. If the particular solution is of the form P(n)=(An2+Bn+C)2nP(n) = (An^2 + Bn + C)2^n, what must be the value of kk?