Files
freeCodeCamp/curriculum/challenges/german/10-coding-interview-prep/project-euler/problem-322-binomial-coefficients-divisible-by-10.md
2023-02-28 08:08:50 -08:00

868 B

id, title, challengeType, forumTopicId, dashedName
id title challengeType forumTopicId dashedName
5900f4af1000cf542c50ffc1 Problem 322: Binomialkoeffizienten teilbar durch 10 1 301979 problem-322-binomial-coefficients-divisible-by-10

--description--

Lasse T(m, n) die Anzahl der Binomialkoeffizienten {}^iC_n sein, die durch 10 teilbar sind für n ≤ i < m (i, m und n sind positive ganze Zahlen).

Folgendes ist gegeben: T({10}^9, {10}^7 - 10) = 989\\,697\\,000.

Finde T({10}^{18}, {10}^{12} - 10).

--hints--

binomialCoefficientsDivisibleBy10() sollte 999998760323314000 zurückgeben.

assert.strictEqual(binomialCoefficientsDivisibleBy10(), 999998760323314000);

--seed--

--seed-contents--

function binomialCoefficientsDivisibleBy10() {

  return true;
}

binomialCoefficientsDivisibleBy10();

--solutions--

// solution required