AMC 10 Step by Step

2024 AMC 10A Problem 5

P1-10~1 minPrint

What is the least value of nn such that n!n! is a multiple of 20242024 ?

Log in to save your progress.
Show solution without answering

Key insight

Break 2024 into primes: 2 times 2 times 2 times 11 times 23. The factorial must include the prime 23, and 23! already includes everything else.

Solution

n!n! means 1⋅2⋅3⋯n1 \cdot 2 \cdot 3 \cdots n. To see which nn works, first find out what 20242024 is made of.

1. Break 20242024 into primes:
2024=8⋅253=2⋅2⋅2⋅11⋅23.2024 = 8 \cdot 253 = 2 \cdot 2 \cdot 2 \cdot 11 \cdot 23.
(To split 253253, try small primes: 253=11⋅23253 = 11 \cdot 23.)
2. The largest prime, 2323, is the one that decides things, so look at it first. A prime like 2323 can only divide n!n! if one of the numbers 1,2,…,n1, 2, \ldots, n is a multiple of 2323. The first such number is 2323 itself. So nn must be at least 2323.
3. Now check that n=23n = 23 really works. The product 23!23! contains the factors 22 and 44 (which give 2⋅2⋅22 \cdot 2 \cdot 2), the factor 1111, and the factor 2323. So it is a multiple of 2⋅2⋅2⋅11⋅23=20242 \cdot 2 \cdot 2 \cdot 11 \cdot 23 = 2024.

The least value is n=23n = 23.

The answer is (D) 23\boxed{\textbf{(D)}\ 23}.

Why this works

A prime number divides n!n! exactly when that prime is one of the numbers 11 to nn. So the largest prime factor of the target sets the smallest possible nn, and the smaller factors are usually covered along the way (just check them). It also pays to know the prime factors of the contest year: 2024=23⋅11⋅232024 = 2^3 \cdot 11 \cdot 23.

Concise solution

A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.

Factor: 2024=8⋅253=23⋅11⋅232024 = 8\cdot 253 = 2^3\cdot 11\cdot 23.

For n!n! to be divisible by the prime 2323, some factor 1,2,…,n1, 2, \dots, n must be a multiple of 2323, so n≥23n \ge 23. Conversely 23!23! contains the factors 2,42, 4 (giving 232^3), 1111 and 2323, so it is a multiple of 20242024.

The answer is (D) 23\boxed{\textbf{(D)}\ 23}.

Review in the AoPS books

Similar problems

Problem © Mathematical Association of America (MAA), American Mathematics Competitions. Reproduced for non-commercial educational use. Solution and commentary are original to this site. Also appeared as 2024 12A #4.