Files
freeCodeCamp/curriculum/challenges/russian/08-coding-interview-prep/project-euler/problem-326-modulo-summations.russian.md

58 lines
1.2 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: 5900f4b21000cf542c50ffc5
challengeType: 5
title: 'Problem 326: Modulo Summations'
forumTopicId: 301983
localeTitle: 'Problem 326: Modulo Summations'
---
## Description
<section id='description'>
Пусть a - последовательность, рекурсивно определенная следующим образом:. <p> Таким образом, первые 10 элементов составляют: 1,1,0,3,0,3,5,4,1,9. </p><p> Пусть f (N, M) представляет число пар (p, q) таких, что: </p><p> Видно, что f (10,10) = 4 с парами (3,3), (5,5), (7,9) и (9,10). </p><p> Вам также дано, что f (104,103) = 97158. </p><p> Найти f (1012,106). </p>
</section>
## Instructions
<section id='instructions'>
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler326()</code> should return 1966666166408794400.
testString: assert.strictEqual(euler326(), 1966666166408794400);
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler326() {
// Good luck!
return true;
}
euler326();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
</section>