Maths Olympiad Prep

Library / HMMT February /246 of 1302

HMMT February

Number theory Difficulty 5.0 AIME Find the answer

How many times does 24 divide into 100! (factorial)?

A number or a short expression. Fractions can be typed as 3/2, and spacing doesn't matter.

Solution

We first determine the number of times 2 and 3 divide into 100!=1⋅2⋅3⋯100100!=1 \cdot 2 \cdot 3 \cdots 100. Let ⟨N⟩n\langle N\rangle_{n}bethenumberoftimes be the number of times ndividesinto divides into N(i.e.wewanttofind⟨100!⟩24 (i.e. we want to find \langle 100!\rangle_{24}). Since 2 only divides into even integers, ⟨100!⟩2=⟨2⋅4⋅6⋯100⟩\langle 100!\rangle_{2}=\langle 2 \cdot 4 \cdot 6 \cdots 100\rangle.Factoringout2oncefromeachofthesemultiples,wegetthat⟨100!⟩2=⟨250⋅1⋅2⋅3⋯50⟩2. Factoring out 2 once from each of these multiples, we get that \langle 100!\rangle_{2}=\left\langle 2^{50} \cdot 1 \cdot 2 \cdot 3 \cdots 50\right\rangle_{2}. Repeating this process, we find that ⟨100!⟩2=⟨2050+25+12+6+3+1⋅1⟩2=97\langle 100!\rangle_{2}=\left\langle 20^{50+25+12+6+3+1} \cdot 1\right\rangle_{2}=97.Similarly,⟨100!⟩3=⟨333+11+3+1⟩3=48. Similarly, \langle 100!\rangle_{3}=\left\langle 3^{33+11+3+1}\right\rangle_{3}=48. Now 24=23⋅324=2^{3} \cdot 3, so for each factor of 24 in 100! there needs to be three multiples of 2 and one multiple of 3 in 100!. Thus ⟨100!⟩24=([⟨100!⟩2/3]+⟨100!⟩3)=32\langle 100!\rangle_{24}=\left(\left[\langle 100!\rangle_{2} / 3\right]+\langle 100!\rangle_{3}\right)=32,where, where [N] is the greatest integer less than or equal to N$.

Want a route through all this instead of an archive? The track puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.

Source: Omni-MATH, licensed Apache-2.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.