Factorial Trailing Digits

Problem Statement

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(1000 \times 8^N)$.

Submit Answers

You need to submit in the format: "N:problem(N)", possibly with multiple values at once, separated by commas, with $N$ between $1$ and $100$.

Top Users

🥇 icy
99.75 (100)
🥈 disturbed_
99.75 (100)
🥉 liuguangxi
99.75 (100)
4 shmuma
99.75 (100)
5 shs10978
99.75 (100)
6 pysmirnov
95.14 (100)
7 mmtg
3.05 (5)
8 jonnytang
3.00 (3)

Data

Stats

Your submissions will appear here

Recent Submissions

1
mmtg
$g(4)$, $4$ digits 2 days, 17 hours ago
2
mmtg
$g(4)$, $5$ digits 2 days, 17 hours ago
3
mmtg
$g(4)$, $5$ digits 2 days, 17 hours ago
4
mmtg
$g(4)$, $5$ digits 2 days, 17 hours ago
5
mmtg
$g(5)$, $4$ digits 2 days, 17 hours ago