56 lines
1.1 KiB
Markdown
56 lines
1.1 KiB
Markdown
|
---
|
|||
|
id: 5900f4531000cf542c50ff66
|
|||
|
challengeType: 5
|
|||
|
title: 'Problem 231: The prime factorisation of binomial coefficients'
|
|||
|
videoUrl: ''
|
|||
|
localeTitle: 'Problema 231: A fatoração primária dos coeficientes binomiais'
|
|||
|
---
|
|||
|
|
|||
|
## Description
|
|||
|
<section id="description"> O coeficiente binomial 10C3 = 120. 120 = 23 × 3 × 5 = 2 × 2 × 2 × 3 × 5, e 2 + 2 + 2 + 3 + 5 = 14. Portanto, a soma dos termos na fatoração primária de 10C3 é 14. <p> Encontre a soma dos termos na fatoração primária de 20000000C15000000. </p></section>
|
|||
|
|
|||
|
## Instructions
|
|||
|
<section id="instructions">
|
|||
|
</section>
|
|||
|
|
|||
|
## Tests
|
|||
|
<section id='tests'>
|
|||
|
|
|||
|
```yml
|
|||
|
tests:
|
|||
|
- text: <code>euler231()</code> deve retornar 7526965179680.
|
|||
|
testString: 'assert.strictEqual(euler231(), 7526965179680, "<code>euler231()</code> should return 7526965179680.");'
|
|||
|
|
|||
|
```
|
|||
|
|
|||
|
</section>
|
|||
|
|
|||
|
## Challenge Seed
|
|||
|
<section id='challengeSeed'>
|
|||
|
|
|||
|
<div id='js-seed'>
|
|||
|
|
|||
|
```js
|
|||
|
function euler231() {
|
|||
|
// Good luck!
|
|||
|
return true;
|
|||
|
}
|
|||
|
|
|||
|
euler231();
|
|||
|
|
|||
|
```
|
|||
|
|
|||
|
</div>
|
|||
|
|
|||
|
|
|||
|
|
|||
|
</section>
|
|||
|
|
|||
|
## Solution
|
|||
|
<section id='solution'>
|
|||
|
|
|||
|
```js
|
|||
|
// solution required
|
|||
|
```
|
|||
|
</section>
|