Files
freeCodeCamp/curriculum/challenges/ukrainian/10-coding-interview-prep/project-euler/problem-322-binomial-coefficients-divisible-by-10.md

43 lines
981 B
Markdown
Raw Permalink Normal View History

---
id: 5900f4af1000cf542c50ffc1
title: 'Завдання 322: Біноміальні коефіцієнти, що діляться на 10'
challengeType: 5
forumTopicId: 301979
dashedName: problem-322-binomial-coefficients-divisible-by-10
---
# --description--
Нехай $T(m, n)$ буде кількістю біномінальних коефіцієнтів ${}^iC_n$, які діляться на 10 при $n ≤ i < m$ ($i$, $m$ та $n$ натуральні числа).
Дано, що $T({10}^9, {10}^7 - 10) = 989\\,697\\,000$.
Знайдіть $T({10}^{18}, {10}^{12} - 10)$.
# --hints--
`binomialCoefficientsDivisibleBy10()` має повернути `999998760323314000`.
```js
assert.strictEqual(binomialCoefficientsDivisibleBy10(), 999998760323314000);
```
# --seed--
## --seed-contents--
```js
function binomialCoefficientsDivisibleBy10() {
return true;
}
binomialCoefficientsDivisibleBy10();
```
# --solutions--
```js
// solution required
```