Files
freeCodeCamp/curriculum/challenges/russian/08-coding-interview-prep/project-euler/problem-401-sum-of-squares-of-divisors.russian.md

58 lines
1.3 KiB
Markdown

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