---
id: 5900f48d1000cf542c50ff9f
challengeType: 5
title: 'Problem 288: An enormous factorial'
videoUrl: ''
localeTitle: 'Problema 288: um enorme fatorial'
---

## Description
<section id="description"> Para qualquer primo p o número N (p, q) é definido por N (p, q) = ∑n = 0 até q Tn * pn com Tn gerado pelo seguinte gerador de números aleatórios: <p> S0 = 290797 Sn + 1 = Sn2 mod 50515093 Tn = mod. </p><p> Seja Nfac (p, q) o fatorial de N (p, q). Seja NF (p, q) o número de fatores p em Nfac (p, q). </p><p> Você recebe o NF (3.10.000) mod 320 = 624955285. </p><p> Encontrar NF (61,107) mod 6110 </p></section>

## Instructions
<section id="instructions">
</section>

## Tests
<section id='tests'>

```yml
tests:
  - text: <code>euler288()</code> deve retornar 605857431263982000.
    testString: 'assert.strictEqual(euler288(), 605857431263982000, "<code>euler288()</code> should return 605857431263982000.");'

```

</section>

## Challenge Seed
<section id='challengeSeed'>

<div id='js-seed'>

```js
function euler288() {
  // Good luck!
  return true;
}

euler288();

```

</div>



</section>

## Solution
<section id='solution'>

```js
// solution required
```
</section>
