PROJECT EULER · #0739
Summation of Summations
Take a sequence of length
Consider the example where we start with a sequence of length 8:
Then the final number is
For this problem we start with the sequence
This is the Lucas sequence where two terms are added to get the next term.
Applying the same process as above we get
You are also given
Find
Write-up coming later
The complete problem is available here. An approach, code, and answer will be added later.