← Complete problem index

PROJECT EULER · #0512

Sums of Totients of Powers

Statement only · SolvedOriginal problem ↗

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).

Write-up coming later

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