When 125! is written in base 12, how many zeros does it end with?
Type in the answer (TITA): no options.
Show answer & solution
Correct answer: 59
Solution: 12 = 2² × 3, so the number of trailing zeros is the largest k with 12ᵏ dividing 125!, i.e. min(⌊v₂/2⌋, v₃). v₂(125!) = 62 + 31 + 15 + 7 + 3 + 1 = 119, so ⌊119/2⌋ = 59. v₃(125!) = 41 + 13 + 4 + 1 = 59. Both limits give 59, so 125! ends in 59 zeros in base 12.