Euler in Babylon

The Floor's Revenge

February 07, 2016

Define fk(n) = $\sum_{i=0}^{n}$ fk($\lfloor\frac{i}{k}\rfloor$) where fk(0) = 1 and $\lfloor x \rfloor$ denotes the floor function.

For example, f5(10) = 18, f7(100) = 1003, and f2(103) = 264830889564.

Find $(\sum_{k=2}^{10}$ fk(1014)$)$ mod (109+7).


gamwe6

Written by gamwe6 who lives and works in San Francisco building useful things. You should follow him on Twitter