freeCodeCamp/curriculum/challenges/russian/08-coding-interview-prep/project-euler/problem-225-tribonacci-non-...

58 lines
1.3 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: 5900f44e1000cf542c50ff60
challengeType: 5
title: 'Problem 225: Tribonacci non-divisors'
forumTopicId: 301868
localeTitle: 'Задача 225: неразделимые трибоначчи'
---
## Description
<section id='description'>
Последовательность 1, 1, 1, 3, 5, 9, 17, 31, 57, 105, 193, 355, 653, 1201 ... определяется T1 = T2 = T3 = 1 и Tn = Tn-1 + Tn -2 + Tn-3. <p> Можно показать, что 27 не делит никаких членов этой последовательности. Действительно, 27 является первым нечетным числом с этим свойством. </p><p> Найдите 124-е нечетное число, которое не делит любые члены указанной последовательности. </p>
</section>
## Instructions
<section id='instructions'>
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler225()</code> should return 2009.
testString: assert.strictEqual(euler225(), 2009);
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler225() {
// Good luck!
return true;
}
euler225();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
</section>