Problem Archive

For a positive integer $n$, $d(n)$ is defined to be the sum of the digits of $n$. For example, $d(12345)=15$.

Let $\displaystyle F(N)=\sum_{n=1}^N \frac n{d(n)}$.

You are given $F(10)=19$, $F(123)\approx 1.187764610390\mathrm e3$ and $F(12345)\approx 4.855801996238\mathrm e6$.

Find $F(1234567890123456789)$. Write your answer in scientific notation rounded to twelve significant digits after the decimal point. Use a lowercase e to separate the mantissa and the exponent.

Solution
No solution yet. Write yours at solutions/s776.md.
Problems sourced from Project Euler · Non-commercial & educational use only · CC BY-NC-SA 4.0