By signing in you confirm you are 18 or older, or have your parent’s or guardian’s consent.

UPSC Prelims 2020 CSAT, question 7

Topic: Number system

Q7

How many zeroes are there at the end of the following product?

1×5×10×15×20×25×30×35×40×45×50×55×601 \times 5 \times 10 \times 15 \times 20 \times 25 \times 30 \times 35 \times 40 \times 45 \times 50 \times 55 \times 60

  1. (a) 10Correct answer
  2. (b) 12
  3. (c) 14
  4. (d) 15

Solution.

Answer: (a) 10

  1. Factoring out 55 from the 1212 multiples of 55 in 1×5×10×15×⋯×601 \times 5 \times 10 \times 15 \times \dots \times 60 gives 512×(1×2×3×⋯×12)=512×12!5^{12} \times (1 \times 2 \times 3 \times \dots \times 12) = 5^{12} \times 12!.
  2. The exponent of 55 in this product is 12+⌊12/5⌋=12+2=1412 + \lfloor 12/5 \rfloor = 12 + 2 = 14, while the exponent of 22 in 12!12! is ⌊12/2⌋+⌊12/4⌋+⌊12/8⌋=6+3+1=10\lfloor 12/2 \rfloor + \lfloor 12/4 \rfloor + \lfloor 12/8 \rfloor = 6 + 3 + 1 = 10.
  3. Since each trailing zero requires a pair of prime factors (2×5)(2 \times 5), the number of trailing zeroes is min⁡(10,14)=10\min(10, 14) = 10.