2024 SSMO Relay Round 5 Problems/Problem 1

Problem

Let the super factorial $!(n)$ be defined on positive integers as $\prod_{i=1}^n i!.$ Find the largest positive integer $k$ such that that there are exactly $k$ positive integers $n$ such that $!(n)$ has fewer than $k$ trailing zeroes.

Solution