56 lines
1010 B
Markdown
56 lines
1010 B
Markdown
---
|
|
id: 5900f52c1000cf542c51003d
|
|
challengeType: 5
|
|
title: 'Problem 446: Retractions B'
|
|
videoUrl: ''
|
|
localeTitle: 'Задача 446: Отвод B'
|
|
---
|
|
|
|
## Description
|
|
<section id="description"> Для каждого целого n> 1 семейство функций fn, a, b определяется посредством fn, a, b (x) ≡ax + b mod n для a, b, x integer и 0 <p> F (N) = ΣR (n4 + 4) для 1≤n≤N. F (1024) = 77532377300600. </p><p> Найти F (107) (mod 1 000 000 007) </p></section>
|
|
|
|
## Instructions
|
|
<section id="instructions">
|
|
</section>
|
|
|
|
## Tests
|
|
<section id='tests'>
|
|
|
|
```yml
|
|
tests:
|
|
- text: ''
|
|
testString: 'assert.strictEqual(euler446(), 907803852, "<code>euler446()</code> should return 907803852.");'
|
|
|
|
```
|
|
|
|
</section>
|
|
|
|
## Challenge Seed
|
|
<section id='challengeSeed'>
|
|
|
|
<div id='js-seed'>
|
|
|
|
```js
|
|
function euler446() {
|
|
// Good luck!
|
|
return true;
|
|
}
|
|
|
|
euler446();
|
|
|
|
```
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</section>
|
|
|
|
## Solution
|
|
<section id='solution'>
|
|
|
|
```js
|
|
// solution required
|
|
```
|
|
</section>
|