freeCodeCamp/curriculum/challenges/english/10-coding-interview-prep/project-euler/problem-211-divisor-square-...

43 lines
649 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

---
id: 5900f43f1000cf542c50ff52
title: 'Problem 211: Divisor Square Sum'
challengeType: 5
forumTopicId: 301853
dashedName: problem-211-divisor-square-sum
---
# --description--
For a positive integer n, let σ2(n) be the sum of the squares of its divisors. For example,
σ2(10) = 1 + 4 + 25 + 100 = 130.
Find the sum of all n, 0 < n < 64,000,000 such that σ2(n) is a perfect square.
# --hints--
`euler211()` should return 1922364685.
```js
assert.strictEqual(euler211(), 1922364685);
```
# --seed--
## --seed-contents--
```js
function euler211() {
return true;
}
euler211();
```
# --solutions--
```js
// solution required
```