← Complete problem index

PROJECT EULER · #0755

Not Zeckendorf

Statement only · SolvedOriginal problem ↗

Consider the Fibonacci sequence {1,2,3,5,8,13,21,}.

We let f(n) be the number of ways of representing an integer n0 as the sum of different Fibonacci numbers.
For example, 16=3+13=1+2+13=3+5+8=1+2+5+8 and hence f(16)=4. By convention f(0)=1.

Further we define S(n)=k=0nf(k). You are given S(100)=415 and S(104)=312807.

Find S(1013).

Write-up coming later

The complete problem is available here. An approach, code, and answer will be added later.