Files
freeCodeCamp/curriculum/challenges/russian/08-coding-interview-prep/project-euler/problem-97-large-non-mersenne-prime.russian.md

56 lines
1.5 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
id: 5900f3ce1000cf542c50fee0
challengeType: 5
title: 'Problem 97: Large non-Mersenne prime'
videoUrl: ''
localeTitle: 'Задача 97: Большое не-Мерсенне'
---
## Description
<section id="description"> Первое известное число, найденное в миллисекундах, было обнаружено в 1999 году и является первым в Мерсенне формой 26972593-1; он содержит ровно 2098 960 цифр. Впоследствии были найдены другие простые числа Мерсена, формы 2р-1, которые содержат больше цифр. Однако в 2004 году было найдено массивное немерсионное правое число, которое содержит 2 357 207 цифр: 28433 × 27830457 + 1. Найдите последние десять цифр этого простого числа. </section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler97()</code> должен вернуть 8739992577.
testString: 'assert.strictEqual(euler97(), 8739992577, "<code>euler97()</code> should return 8739992577.");'
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler97() {
// Good luck!
return true;
}
euler97();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
</section>