Search Problems   RSS Feed
projecteuler.net

Factorial Trailing Digits 2

 Published on Saturday, 25th February 2017, 04:00 pm and solved by 443
Difficulty: Level 26 [68%]

Problem 592

For any $N$, let $f(N)$ be the last twelve hexadecimal digits before the trailing zeroes in $N!$.

For example, the hexadecimal representation of $20!$ is 21C3677C82B40000,
so $f(20)$ is the digit sequence 21C3677C82B4.

Find $f(20!)$. Give your answer as twelve hexadecimal digits, using uppercase for the digits A to F.



Copied to Clipboard