--- id: 5900f4da1000cf542c50ffec challengeType: 5 title: 'Problem 365: A huge binomial coefficient' videoUrl: '' localeTitle: 'Problema 365: Um enorme coeficiente binomial' --- ## Description
O coeficiente binomial C (1018,109) é um número com mais de 9 bilhões (9 × 109) dígitos.

Seja M (n, k, m) o coeficiente binomial C (n, k) módulo m.

Calcule ∑M (1018,109, p q r) para 1000 <p <q <r <5000 e p, q, r primo.

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