2026 AMC 8 Problem 24

Attempt Problem 24 of the 2026 AMC 8 below, then check your answer against the video solution and professionally curated solution from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2026 AMC 8 solutions, or check the answer key.

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

24.

The notation n!n! (read “nn factorial”) is defined as the product of the first nn positive integers. (For example, 3!=1⋅2⋅3=6.3! = 1 \cdot 2 \cdot 3 = 6.) Define the superfactorial of a positive integer, denoted by n!,n^!, to be the product of the factorials of the first nn integers. (For example, 3!=1!⋅2!⋅3!=12.3^! = 1! \cdot 2! \cdot 3! = 12.) How many factors of 77 appear in the prime factorization of 51!,51^!, the superfactorial of 51?51?
147147
150150
156156
168168
171171
Answer: E
Concepts:Legendre’s Formulafactorial
Small hint:
Count how many times multiples of 77 appear in the factorials
Big hint:
Use ∑n=151(⌊n7⌋+⌊n49⌋)\sum_{n=1}^{51}(\lfloor \frac{n}{7}\rfloor+\lfloor \frac{n}{49}\rfloor)
Video solution:
Solution video thumbnail
Play video

Click to load, then click again to play

Written solution:
For each n!n!, the number of factors of 77 is ⌊n7⌋+⌊n49⌋\lfloor \frac{n}{7}\rfloor+\lfloor \frac{n}{49}\rfloor. Therefore the exponent of 77 in 51!51^{!} is ∑n=151⌊n7⌋+∑n=151⌊n49⌋\sum_{n=1}^{51}\lfloor \frac{n}{7}\rfloor+\sum_{n=1}^{51}\lfloor \frac{n}{49}\rfloor. The first sum is 7(1+2+3+4+5+6)+3⋅77(1+2+3+4+5+6)+3\cdot7 =168=168, and the second sum is 33. The total is 171171.
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.