freeCodeCamp/curriculum/challenges/spanish/08-coding-interview-prep/project-euler/problem-365-a-huge-binomial...

56 lines
1.0 KiB
Markdown
Raw Normal View History

---
2018-10-10 20:20:40 +00:00
id: 5900f4da1000cf542c50ffec
challengeType: 5
title: 'Problem 365: A huge binomial coefficient'
2018-10-10 20:20:40 +00:00
videoUrl: ''
localeTitle: 'Problema 365: Un enorme coeficiente binomial'
---
## Description
2018-10-10 20:20:40 +00:00
<section id="description"> El coeficiente binomial C (1018,109) es un número con más de 9 mil millones (9 × 109) dígitos. <p> Sea M (n, k, m) el coeficiente binomial C (n, k) módulo m. </p><p> Calcule ∑M (1018,109, p <em>q</em> r) para 1000 &lt;p &lt;q &lt;r &lt;5000 yp, q, r prime. </p></section>
## Instructions
2018-10-10 20:20:40 +00:00
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler365()</code> debe devolver 162619462356610300.
testString: 'assert.strictEqual(euler365(), 162619462356610300, "<code>euler365()</code> should return 162619462356610300.");'
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler365() {
// Good luck!
return true;
}
euler365();
2018-10-10 20:20:40 +00:00
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
</section>