Could you help me out with a piece of homework, I really do not know, how to solve this. Even how to begin.
$8$ natural numbers are written in a row. Each number, beginning from the third is a sum of last two numbers before it. Which maximum value has the first number if the last is $2018$?
Hope that my knowledge is solid enough for this task.