P592
projecteuler.net

Factorial Trailing Digits 2

ℹ️Published on Saturday, 25th February 2017, 04:00 pm; Solved by 321;
Difficulty rating: 60%

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.



Soluzione

Last modified: May 01, 2025. Website built with Franklin.jl and the lovely Julia programming language.