Preimage Size of Factorial Zeroes Function
Binary search the smallest x with at least k trailing zeros in x!; the answer is 5 if it hits k exactly, else 0.
Binary search the smallest x with at least k trailing zeros in x!; the answer is 5 if it hits k exactly, else 0.