2015 AMC 10B Problem 23

Attempt Problem 23 of the 2015 AMC 10B below, then check your answer against the professionally curated solution from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2015 AMC 10B solutions, or check the answer key.

All problems are used with official legal permission of the Mathematical Association of America (MAA).

23.

Let nn be a positive integer greater than 44 such that the decimal representation of n!n! ends in kk zeros and the decimal representation of (2n)!(2n)! ends in 3k3k zeros. Let ss denote the sum of the four least possible values of n.n. What is the sum of the digits of s?s?
7 7
8 8
9 9
10 10
11 11
Answer: B
Concepts:trailing zerosLegendre’s Formulafactorial
Small hint:
Count factors of 55 in n!n! and (2n)!(2n)!
Big hint:
Test the first ranges where k=1k=1 and k=2k=2
Solution:
The number of trailing zeros is the number of factors of 55. For 5≤n≤95\le n\le9, n!n! has k=1k=1 zero. We need (2n)!(2n)! to have 33 zeros, which happens when 15≤2n≤1915\le2n\le19. Thus n=8,9n=8,9.
For 10≤n≤1410\le n\le14, n!n! has k=2k=2 zeros. We need (2n)!(2n)! to have 66 zeros, which happens when 25≤2n≤2925\le2n\le29. Thus n=13,14n=13,14.
These are the four least possible values, so s=8+9+13+14=44s=8+9+13+14=44. The sum of the digits of ss is 88.
Thus, the correct answer is B.
LIVE by Po-Shen Loh
Programs

LIVE Classes

Self-Paced Classes

Stars

Scholarship

About Us

Who Is Po-Shen Loh?

Email Contact

Newsletter

Jobs

Become a Star

For a more Thought Full world.

© 2026 Expii, Inc.