931. Totient Graph

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

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

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

931. 欧拉总计函数图

对一个正整数 n,我们按如下规则建一张带权图:将 n 的所有约数作为结点;对于 n 的约数 ab,若 b 整除 aa/b 是质数,则在 ab 之间连一条权为 φ(a)φ(b) 的边,其中 φ 代指欧拉总计函数 (Euler totient function)。我们记 t(n) 为该图的边权和。例如,下图说明了 t(45)=52

T(N)=n=1Nt(n),已知 T(10)=26T(102)=5282

T(1012)715827883 的值。


这个链接 回到源站。

这个链接 回到详细版题目目录。