Sum of $P(k^3+1)$ modulo $10^9+7$

68 Views Asked by At

$P(N)$ represents the largest prime factor of $N$.

Find the sum of $P(k^3+1)$ for $1≤k≤107$ modulo $10^9+7$