2026-11-18

Problem — 2026-11-18

Medium

MediumNumber theory

An alien mathematician who counts in base 1212 writes out the number 100!100! (the product 1⋅2⋅3⋯1001\cdot2\cdot3\cdots100) in base 1212. How many zeros does this base-1212 numeral end with?

Enter an integer

Show solution
Trailing zeros in base 1212 count the largest kk with 12k=22k3k12^k=2^{2k}3^k dividing 100!100!. The exponent of 22 is 50+25+12+6+3+1=9750+25+12+6+3+1=97, allowing ⌊97/2⌋=48\lfloor 97/2\rfloor=48 factors of 44. The exponent of 33 is 33+11+3+1=4833+11+3+1=48. Both limits give 4848, so k=48k=48.