656 B
656 B
id | title | challengeType | forumTopicId | dashedName |
---|---|---|---|---|
5900f40d1000cf542c50ff1f | Problem 160: Factorial trailing digits | 5 | 301794 | problem-160-factorial-trailing-digits |
--description--
For any N, let f(N) be the last five digits before the trailing zeroes in N!.
For example,
9! = 362880 so f(9)=36288
10! = 3628800 so f(10)=36288
20! = 2432902008176640000 so f(20)=17664
Find f(1,000,000,000,000)
--hints--
euler160()
should return 16576.
assert.strictEqual(euler160(), 16576);
--seed--
--seed-contents--
function euler160() {
return true;
}
euler160();
--solutions--
// solution required