56 lines
1.2 KiB
Markdown
56 lines
1.2 KiB
Markdown
---
|
||
id: 5900f4551000cf542c50ff68
|
||
challengeType: 5
|
||
title: 'Problem 233: Lattice points on a circle'
|
||
videoUrl: ''
|
||
localeTitle: 'Задача 233: точки решетки на круге'
|
||
---
|
||
|
||
## Description
|
||
<section id="description"> Пусть f (N) - число точек с целыми координатами, которые находятся на окружности, проходящей через (0,0), (N, 0), (0, N) и (N, N). Можно показать, что f (10000) = 36. <p> Какова сумма всех натуральных чисел N ≤ 1011 таких, что f (N) = 420? </p></section>
|
||
|
||
## Instructions
|
||
<section id="instructions">
|
||
</section>
|
||
|
||
## Tests
|
||
<section id='tests'>
|
||
|
||
```yml
|
||
tests:
|
||
- text: <code>euler233()</code> должен вернуть 271204031455541300.
|
||
testString: 'assert.strictEqual(euler233(), 271204031455541300, "<code>euler233()</code> should return 271204031455541300.");'
|
||
|
||
```
|
||
|
||
</section>
|
||
|
||
## Challenge Seed
|
||
<section id='challengeSeed'>
|
||
|
||
<div id='js-seed'>
|
||
|
||
```js
|
||
function euler233() {
|
||
// Good luck!
|
||
return true;
|
||
}
|
||
|
||
euler233();
|
||
|
||
```
|
||
|
||
</div>
|
||
|
||
|
||
|
||
</section>
|
||
|
||
## Solution
|
||
<section id='solution'>
|
||
|
||
```js
|
||
// solution required
|
||
```
|
||
</section>
|