1.3 KiB
1.3 KiB
id, challengeType, title, forumTopicId, localeTitle
id | challengeType | title | forumTopicId | localeTitle |
---|---|---|---|---|
5900f4fd1000cf542c51000f | 5 | Problem 401: Sum of squares of divisors | 302069 | Задача 401: Сумма квадратов делителей |
Description
Пусть sigma2 (n) представляет собой сумму квадратов делителей n. Таким образом, sigma2 (6) = 50.
Пусть SIGMA2 представляет собой суммирующую функцию sigma2, то есть SIGMA2 (n) = Σsigma2 (i) для i = 1 - n. Первые 6 значений SIGMA2: 1,6,16,37,63 и 113.
Найдите SIGMA2 (1015) по модулю 109.
Instructions
Tests
tests:
- text: <code>euler401()</code> should return 281632621.
testString: assert.strictEqual(euler401(), 281632621);
Challenge Seed
function euler401() {
// Good luck!
return true;
}
euler401();
Solution
// solution required