62 lines
887 B
Markdown
62 lines
887 B
Markdown
|
---
|
||
|
id: 5900f4af1000cf542c50ffc1
|
||
|
challengeType: 5
|
||
|
title: 'Problem 322: Binomial coefficients divisible by 10'
|
||
|
forumTopicId: 301979
|
||
|
---
|
||
|
|
||
|
## Description
|
||
|
<section id='description'>
|
||
|
Let T(m, n) be the number of the binomial coefficients iCn that are divisible by 10 for n ≤ i < m(i, m and n are positive integers).
|
||
|
You are given that T(109, 107-10) = 989697000.
|
||
|
|
||
|
|
||
|
Find T(1018, 1012-10).
|
||
|
</section>
|
||
|
|
||
|
## Instructions
|
||
|
<section id='instructions'>
|
||
|
|
||
|
</section>
|
||
|
|
||
|
## Tests
|
||
|
<section id='tests'>
|
||
|
|
||
|
```yml
|
||
|
tests:
|
||
|
- text: <code>euler322()</code> should return 999998760323314000.
|
||
|
testString: assert.strictEqual(euler322(), 999998760323314000);
|
||
|
|
||
|
```
|
||
|
|
||
|
</section>
|
||
|
|
||
|
## Challenge Seed
|
||
|
<section id='challengeSeed'>
|
||
|
|
||
|
<div id='js-seed'>
|
||
|
|
||
|
```js
|
||
|
function euler322() {
|
||
|
|
||
|
return true;
|
||
|
}
|
||
|
|
||
|
euler322();
|
||
|
```
|
||
|
|
||
|
</div>
|
||
|
|
||
|
|
||
|
|
||
|
</section>
|
||
|
|
||
|
## Solution
|
||
|
<section id='solution'>
|
||
|
|
||
|
```js
|
||
|
// solution required
|
||
|
```
|
||
|
|
||
|
</section>
|