782 B
782 B
id, title, challengeType, forumTopicId, dashedName
id | title | challengeType | forumTopicId | dashedName |
---|---|---|---|---|
5900f51e1000cf542c510030 | 問題 432: トーティエント和 | 5 | 302103 | problem-432-totient-sum |
--description--
1 ≤ i ≤ m
のとき、S(n, m) = \sum φ(n × i)
とします。 (φ
はオイラーのトーティエント関数を表します。)
S(510\\,510, {10}^6) = 45\\,480\\,596\\,821\\,125\\,120
が与えられます。
S(510\\,510, {10}^{11})
を求めなさい。 回答は、下位 9 桁とすること。
--hints--
totientSum()
は 754862080
を返す必要があります。
assert.strictEqual(totientSum(), 754862080);
--seed--
--seed-contents--
function totientSum() {
return true;
}
totientSum();
--solutions--
// solution required