796 B
796 B
id, title, challengeType, forumTopicId, dashedName
id | title | challengeType | forumTopicId | dashedName |
---|---|---|---|---|
5900f4ae1000cf542c50ffbf | Problema 320: Fatoriais divisíveis por um número inteiro muito grande | 5 | 301977 | problem-320-factorials-divisible-by-a-huge-integer |
--description--
Considere N(i)
como o menor número inteiro n
, tal que n!
é divisível por (i!)^{1234567890}
Considere S(u) = \sum N(i)
para 10 ≤ i ≤ u
.
S(1000)=614.538.266.565.663
.
Encontre S(1.000.000)\bmod {10}^{18}
.
--hints--
divisibleByHugeInteger()
deve retornar 278157919195482660
.
assert.strictEqual(divisibleByHugeInteger(), 278157919195482660);
--seed--
--seed-contents--
function divisibleByHugeInteger() {
return true;
}
divisibleByHugeInteger();
--solutions--
// solution required