P512
projecteuler.net

Sums of Totients of Powers

ℹ️Published on Saturday, 18th April 2015, 10:00 pm; Solved by 1671;
Difficulty rating: 25%

Let φ(n) be Euler's totient function.

Let f(n)=(i=1nφ(ni))mod(n+1).

Let g(n)=i=1nf(i).

g(100)=2007.

Find g(5×108).



Soluzione

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