P642
projecteuler.net

Sum of Largest Prime Factors

ℹ️Published on Saturday, 10th November 2018, 04:00 pm; Solved by 402;
Difficulty rating: 45%

Let $f(n)$ be the largest prime factor of $n$ and $\displaystyle F(n) = \sum_{i=2}^n f(i)$.
For example $F(10)=32$, $F(100)=1915$ and $F(10000)=10118280$.

Find $F(201820182018)$. Give your answer modulus $10^9$.



Soluzione

Last modified: May 01, 2025. Website built with Franklin.jl and the lovely Julia programming language.