I've made it to states this year, but I want to know how to solve this problem. I already know since the difference between consecutive squares are changing by $2,$ I should be doing something similar in my sequence.
If a certain sequence $a_1, a_2, a_3, a_4, …$ of positive integers has the following properties, what is the greatest possible value of $a_{99}$?
For every positive integer $k,$ $a_k$ < $a_{k+1}.$
For every positive integer $k > 3,$ $a_{k− 3} + a_{k − 2} + a_{k − 1} + a_k = k^2.$
I've reduced the problem to finding the maximum of $a_6,$ noting that there (probably) is some kind of square pattern (that I don't get), and even testing is difficult because I often get into a contradiction when I try to minimize $a_6.$