← Complete problem index

PROJECT EULER · #0642

Sum of Largest Prime Factors

Statement only · SolvedOriginal problem ↗

Let f(n) be the largest prime factor of n and F(n)=i=2nf(i).
For example F(10)=32, F(100)=1915 and F(10000)=10118280.

Find F(201820182018). Give your answer modulus 109.

Write-up coming later

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