* feat(tools): add seed/solution restore script * chore(curriculum): remove empty sections' markers * chore(curriculum): add seed + solution to Chinese * chore: remove old formatter * fix: update getChallenges parse translated challenges separately, without reference to the source * chore(curriculum): add dashedName to English * chore(curriculum): add dashedName to Chinese * refactor: remove unused challenge property 'name' * fix: relax dashedName requirement * fix: stray tag Remove stray `pre` tag from challenge file. Signed-off-by: nhcarrigan <nhcarrigan@gmail.com> Co-authored-by: nhcarrigan <nhcarrigan@gmail.com>
45 lines
753 B
Markdown
45 lines
753 B
Markdown
---
|
||
id: 5900f4531000cf542c50ff66
|
||
title: 'Problem 231: The prime factorisation of binomial coefficients'
|
||
challengeType: 5
|
||
forumTopicId: 301875
|
||
dashedName: problem-231-the-prime-factorisation-of-binomial-coefficients
|
||
---
|
||
|
||
# --description--
|
||
|
||
The binomial coefficient 10C3 = 120.
|
||
|
||
120 = 23 × 3 × 5 = 2 × 2 × 2 × 3 × 5, and 2 + 2 + 2 + 3 + 5 = 14.
|
||
|
||
So the sum of the terms in the prime factorisation of 10C3 is 14.
|
||
|
||
Find the sum of the terms in the prime factorisation of 20000000C15000000.
|
||
|
||
# --hints--
|
||
|
||
`euler231()` should return 7526965179680.
|
||
|
||
```js
|
||
assert.strictEqual(euler231(), 7526965179680);
|
||
```
|
||
|
||
# --seed--
|
||
|
||
## --seed-contents--
|
||
|
||
```js
|
||
function euler231() {
|
||
|
||
return true;
|
||
}
|
||
|
||
euler231();
|
||
```
|
||
|
||
# --solutions--
|
||
|
||
```js
|
||
// solution required
|
||
```
|