freeCodeCamp/curriculum/challenges/russian/08-coding-interview-prep/project-euler/problem-211-divisor-square-...

56 lines
1.1 KiB
Markdown
Raw Normal View History

---
id: 5900f43f1000cf542c50ff52
challengeType: 5
title: 'Problem 211: Divisor Square Sum'
videoUrl: ''
localeTitle: 'Задача 211: Квадратная сумма дивизора'
---
## Description
<section id="description"> Для положительного целого числа n, σ2 (n) - сумма квадратов его делителей. Например, σ2 (10) = 1 + 4 + 25 + 100 = 130. Найдите сумму всех n, 0 &lt;n &lt;64 000 000, так что σ2 (n) - идеальный квадрат. </section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler211()</code> должен вернуть 1922364685.
testString: 'assert.strictEqual(euler211(), 1922364685, "<code>euler211()</code> should return 1922364685.");'
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler211() {
// Good luck!
return true;
}
euler211();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
</section>