Q. Let sequence ${a_{n}}$ satisfy $$a_{1} = 1, a_{2}=4, a_{3}=5 $$ and $$ a_{n}+a_{n-1}+a_{n-2}+a_{n-3}=n^2$$ $$\forall n \geq 4 $$ Then find the sum of the digits of $ a_{2021}$ .
My attempt: The given sequence isn't making any progression . So I tried to calculate the furthur terms of the series and tried to get a possible sequence for the terms. However I was unsuccessful in that! Then I attempt to make a possible sequence for the sum of the digits of the further terms in the series, which got ruined too! Now I have no clue how to get on with that problem! I think forming a function of n as a difference of two terms would help but please could you suggest how to make it? Please help.
For $n\geq 4$ we have: $$a_{n+1}-a_{n-3}=(a_{n+1}+a_n+a_{n-1}+a_{n-2})-(a_n+a_{n-1}+a_{n-2}+a_{n-3})$$ $$=(n+1)^2-n^2=2n+1$$ So that $$a_{2021}=(2\cdot 2021 -1)+(2\cdot 2017-1)+\dots+(2\cdot5-1)+a_1 $$
I think you can take it from here?