The number obtained from the last two nonzero digits of is equal to . What is ?
- A)
- B)
- C)
- D)
- E)
Answer
A
Key insight
Strip 5^21 and 2^21; mod 25 each block of four non-multiples of 5 has product -1, so 90!/5^21 is -1, and dividing by 2^21 = 2 gives 12.
Solution
The exponent of in is , and the exponent of is . So ends in zeros and . This quotient still contains , so ; every choice is a multiple of , so the work is mod .
A useful fact. For any , (the cross terms are multiples of , hence of ).
Remove the 5s. Write , where is the product of the non-multiples of up to . Those form blocks of four, so . Similarly with . Since and , we get . Hence
Remove the 2s. , so . Then satisfies , so .
Among the choices, , , , ; only works.
The answer is .
Why this works
"Last two nonzero digits" means the quotient by taken mod , and splits the job. The factors of are plentiful, so mod is trivial; mod the factorial is tamed by stripping s in layers () and by the block identity that turns runs of four consecutive units into . Dividing by at the end is a modular inverse, not a real division.
The trap
Reducing 90! mod 100 directly (it is 0) or forgetting that removing 21 factors of 5 also requires removing exactly 21 factors of 2.
Common mistakes
- Reducing 90! mod 100 directly (it is 0) or forgetting that removing 21 factors of 5 also requires removing exactly 21 factors of 2.
- Applying the block identity to without separately handling its own multiples of (), which contribute .
Techniques
Use the answer choices (mod checks, size, form) to eliminate or select · Set up the equation/formula and compute; no special trick needed