freeCodeCamp/curriculum/challenges/russian/08-coding-interview-prep/project-euler/problem-46-goldbachs-other-...

56 lines
1.5 KiB
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: 5900f39a1000cf542c50fead
challengeType: 5
title: 'Problem 46: Goldbach"s other conjecture'
videoUrl: ''
localeTitle: 'Задача 46: другая гипотеза Голдбаха'
---
## Description
<section id="description"> Христианом Гольдбахом было предложено, что каждое нечетное составное число может быть записано как сумма простого и дважды квадрата. 9 = 7 + 2 × 1 <sup>2</sup> 15 = 7 + 2 × 2 <sup>2</sup> 21 = 3 + 2 × 3 <sup>2</sup> 25 = 7 + 2 × 3 <sup>2</sup> 27 = 19 + 2 × 2 <sup>2</sup> 33 = 31 + 2 × 1 <sup>2</sup> что гипотеза была ложной. Каков самый маленький нечетный композит, который не может быть записан как сумма простого и дважды квадрата? </section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>goldbachsOtherConjecture()</code> должен возвращать 5777.
testString: 'assert.strictEqual(goldbachsOtherConjecture(), 5777, "<code>goldbachsOtherConjecture()</code> should return 5777.");'
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function goldbachsOtherConjecture() {
// Good luck!
return true;
}
goldbachsOtherConjecture();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
</section>