Files

43 lines
802 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
id: 5900f51e1000cf542c510030
title: 'Завдання 432: Тотієнтна функція сум'
challengeType: 5
forumTopicId: 302103
dashedName: 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`.
```js
assert.strictEqual(totientSum(), 754862080);
```
# --seed--
## --seed-contents--
```js
function totientSum() {
return true;
}
totientSum();
```
# --solutions--
```js
// solution required
```