freeCodeCamp/curriculum/challenges/portuguese/08-coding-interview-prep/project-euler/problem-447-retractions-c.p...

56 lines
1002 B
Markdown
Raw Normal View History

---
id: 5900f52c1000cf542c51003e
challengeType: 5
title: 'Problem 447: Retractions C'
videoUrl: ''
localeTitle: 'Problema 447: Retractions C'
---
## Description
<section id="description"> Para cada inteiro n&gt; 1, a família de funções fn, a, b é definida por fn, a, b (x) ≡ax + b mod n para a, b, x inteiro e 0 <p> F (N) = ∑R (n) para 2≤n≤N. F (107) ≡638042271 (mod. 1 000 000 007). </p><p> Encontre F (1014) (mod 1 000 000 007). </p></section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler447()</code> deve retornar 530553372.
testString: 'assert.strictEqual(euler447(), 530553372, "<code>euler447()</code> should return 530553372.");'
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler447() {
// Good luck!
return true;
}
euler447();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
</section>