How many trailing zeroes does the above product end with?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
You don't need to need to multiply out the numbers. You just need count the powers of 2 and 5.
Divisibility test of 5 n is that last n digits of the number must be divisible by 5 n . It is clear that 123648 is not divisible by 5 (last digit is 8). So let's just test on 461250.
Through experimenting,
5 ∣ 0 5 2 ∣ 5 0 5 3 ∣ 2 5 0 5 4 ∣ 1 2 5 0 5 5 ∤ 6 1 2 5 0
Hence the largest power of 5 in the product is 5 4 .
In a similar way, we check if 2 4 divides either of the numbers or not (remember the divisibility test). It does and hence the number of trailing zeroes are 4. Make sure you understand why we directly checked whether the product is divisible by 2 4 ( hint: the trailing zeroes cannot be more than 4).