Question Number 76207 by mr W last updated on 25/Dec/19

Answered by mind is power last updated on 25/Dec/19

Answered by john santuy last updated on 25/Dec/19

Commented by mr W last updated on 25/Dec/19

Commented by john santuy last updated on 25/Dec/19

Answered by mr W last updated on 25/Dec/19
![my attempt: a_(n+2) =3a_(n+1) +(n+1)^2 a_(n+1) =3a_n +n^2 ⇒a_(n+2) −a_(n+1) =3(a_(n+1) −a_n )+2n+1 let b_(n+2) =a_(n+2) −a_(n+1) ⇒b_(n+2) =3b_(n+1) +2n+1 assume b_n =c_n +pn+q with p, q as constants c_(n+2) +p(n+2)+q=3[c_(n+1) +p(n+1)+q]+2n+1 ⇒c_(n+2) =3c_(n+1) +2(p+1)n+(p+2q+1) now we select p and q such that the colored terms become zero: p+1=0 ⇒ p=−1 p+2q+1=0 ⇒−1+2q+1=0 ⇒q=0 i.e. b_n =c_n −n or c_n =b_n +n from c_(n+2) =3c_(n+1) we see c_n is a G.P. with common ratio 3. ⇒c_n =3^(n−2) c_2 a_1 =1 a_2 =3×1+1^2 =4 b_2 =a_2 −a_1 =4−1=3 c_2 =b_2 +2=3+2=5 ⇒c_n =5×3^(n−2) ⇒b_n =5×3^(n−2) −n ⇒b_(k+1) =5×3^(k−1) −k−1 ⇒a_(k+1) −a_k =5×3^(k−1) −k−1 ⇒Σ_(k=1) ^n a_(k+1) −Σ_(k=1) ^n a_k =5×Σ_(k=1) ^n 3^(k−1) −Σ_(k=1) ^n k−n ⇒a_(n+1) −a_1 =5×((3^n −1)/(3−1))−((n(n+1))/2)−n ⇒a_(n+1) =((5(3^n −1)−n(n+1)−2(n−1))/2) or ⇒a_n =((5(3^(n−1) −1)−(n−1)n−2(n−2))/2) ⇒a_n =((5×3^(n−1) −n^2 −n−1)/2)](https://www.tinkutara.com/question/Q76226.png)
Commented by john santuy last updated on 25/Dec/19

Answered by vishalbhardwaj last updated on 25/Dec/19
![a_n = a_(n+1) −a_n = 3a_n +n^2 −3a_(n−1) −(n−1)^2 = 3[a_n −a_(n−1) ]+n^2 −n^2 +2n−1 (i) =3×common difference+2n−1 now by the given a_(n+1) =3a_n +n^2 a_2 =3a_1 +1 and a_2 =3(1)+1=4 ⇒ common difference = a_2 −a_1 =3 ⇒ by equation (i), a_n = 3(3)+2n−1 ⇒ a_n = 2n+8 this is the solution when series an A.P.](https://www.tinkutara.com/question/Q76255.png)
Commented by MJS last updated on 25/Dec/19
