The number obtained from the last two nonzero digits of $90!$ is equal to $n$. What is $n$?
Link to the sample solutions for the problem. Please look at Solution 1. (Solution 2 is even less clear, I feel) I understand that we first get rid of the trailing zeroes by setting $N = \frac{90!}{10^{21}}$. Then we can reduce this mod 25.
My issue is with the clarity of the following statements:
If instead we find $N\pmod{25}$, we know that $N\pmod{100}$, what we are looking for, could be $N\pmod{25}$, $N\pmod{25}+25$, $N\pmod{25}+50$, or $N\pmod{25}+75$.
How do we reduce our search to these numbers specifically?
If we divide $N$ by $5^{21}$ by taking out all the factors of $5$ in $N$, we can write $N$ as $\frac M{2^{21}}$ where $$M=1\cdot 2\cdot 3\cdot 4\cdot 1\cdot 6\cdot 7\cdot 8\cdot 9\cdot 2\cdots 89\cdot 18,$$
Ok, this makes no sense. I thought all factors of 5 were divided out when we got rid of the trailing zeros? And where did the $2^{21}$ come from? After that, what's with $M$? I don't understand this at all...
I'd really appreciate it if someone who understands the solution could explain it to me.