--- id: 5900f4ae1000cf542c50ffbf challengeType: 5 title: 'Problem 320: Factorials divisible by a huge integer' videoUrl: '' localeTitle: 'Problema 320: Factorials divisíveis por um inteiro enorme' --- ## Description
Seja N (i) o menor inteiro n tal que n! é divisível por (i!) 1234567890

Seja S (u) = ∑N (i) para 10 ≤ i ≤ u.

S (1000) = 614538266565663.

Encontre S (1 000 000) mod 1018.

## Instructions
## Tests
```yml tests: - text: euler320() deve retornar 278157919195482660. testString: 'assert.strictEqual(euler320(), 278157919195482660, "euler320() should return 278157919195482660.");' ```
## Challenge Seed
```js function euler320() { // Good luck! return true; } euler320(); ```
## Solution
```js // solution required ```