Bunuel
What is the rightmost non-zero digit of 20! ?
A. 2
B. 3
C. 4
D. 6
E. 8
Given: 20! = (20)(19)(18)(17)(16)(15)(14)(13)(12)(11)(10)(9)(8)(7)(6)(5)(4)(3)(2)(1)
Since one 2 and one 5 multiply to get 10 (causing the product to end in 0), let's the first factor out all of the 5's to get:
20! = (
5)(4)(19)(18)(17)(16)(
5)(3)(14)(13)(12)(11)(
5)(2)(9)(8)(7)(6)(
5)(4)(3)(2)(1)
There are four 5's in this product.
So, let's highlight four 2's that can pair with the four 5's to get all of our zeros.
20! = (
5)(
4)(19)(18)(17)(16)(
5)(3)(14)(13)(12)(11)(
5)(
2)(9)(8)(7)(6)(
5)(4)(3)(
2)(1)
(
5)(
4)(
5)(
5)(
2)(
5)(
2) = 10,000
So, those colored values are the ones that contribute to the product ending in four zeros.
Since our goal now is to identify the rightmost non-zero digit, we can ignore all of those colored values.
This results in the following product: (19)(18)(17)(16)(3)(14)(13)(12)(11)(9)(8)(7)(6)(4)(3)(1)
So the rightmost non-zero digit will be the unit's digit of the above product.
From here it's just a matter of keeping track of the unit's digit as we multiply each successive value in the product.
For example, 19 x 18 has units digit 2.
Now multiply 2 by the next number to get 2 x 17, which has units digit 4
Now multiply 4 by the next number to get 2 x 16, which has units digit 2
And so on.
When we do all of this, we end up with units digit 4.
Answer: C
Cheers,
Brent