Files

802 B
Raw Permalink Blame History

id, title, challengeType, forumTopicId, dashedName
id title challengeType forumTopicId dashedName
5900f51e1000cf542c510030 Завдання 432: Тотієнтна функція сум 5 302103 problem-432-totient-sum

--description--

Нехай S(n, m) = \sum φ(n × i) при 1 ≤ i ≤ m. (φ позначає тотієнтну функцію Ейлера)

Дано, що 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