0%

Problem 931


Problem 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:

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.


欧拉函数图

对于正整数n,以n的所有因数为顶点构造图。若a能被b整除,且a/b是素数,则在ab对应的顶点之间作一条边,该边的权重为ϕ(a)ϕ(b),其中ϕ表示欧拉函数。

定义t(n)为该图的总权重。

下图展示了t(45)=52

0931_totientgraph.png

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

T(1012),并对715827883取余作为你的答案。


Gitalking ...