← Complete problem index

PROJECT EULER · #0931

Totient Graph

Statement only · UnsolvedOriginal problem ↗

For a positive integer n construct a graph using all the divisors of n as the vertices. An edge is drawn between a and b if a is divisible by b and a/b is prime, and is given weight ϕ(a)ϕ(b), where ϕ is the Euler totient function.
Define t(n) to be the total weight of this graph.
The example below shows that t(45)=52

0931_totientgraph.png

Let T(N)=n=1Nt(n). You are given T(10)=26 and T(102)=5282.

Find T(1012). Give your answer modulo 715827883.

Write-up coming later

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