freeCodeCamp/curriculum/challenges/russian/08-coding-interview-prep/project-euler/problem-231-the-prime-facto...

56 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

---
id: 5900f4531000cf542c50ff66
challengeType: 5
title: 'Problem 231: The prime factorisation of binomial coefficients'
videoUrl: ''
localeTitle: 'Задача 231: простая факторизация биномиальных коэффициентов'
---
## Description
<section id="description"> Биномиальный коэффициент 10C3 = 120. 120 = 23 × 3 × 5 = 2 × 2 × 2 × 3 × 5 и 2 + 2 + 2 + 3 + 5 = 14. Таким образом, сумма членов простой факторизации 10C3 составляет 14. <p> Найдите сумму членов в простой факторизации 20000000C15000000. </p></section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler231()</code> должен вернуть 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>