2017 AMC 8 Problem 19

Improve Your AMC 8 Score

Practice with AMC 8 problems by topic and difficulty level.

Improve Your AMC 8 Score

Practice with AMC 8 problems by topic and difficulty level.

One Page to Learn. One Point to Earn.

In This Page:

To help you master 2017 AMC 8 Problem 19, this page includes:

  • The original AMC problem to try, plus the correct answer
  • Clear, step-by-step solutions using different methods
  • Key ideas, useful formulas, and takeaways you can apply to similar problems
  • Related problems from past AMC exams, plus new practice problems that build the same skills

Want more practice? Scroll down to download Think Academy’s AMC 8 practice packs and keep building your AMC 8 skills.

2017 AMC8 Problem 19

AMC 8 · 2017 · Question 19
Medium
Number TheoryFactorialsFactorials & Valuations

19.

For any positive integer , the notation denotes the product of the integers through . What is the largest integer for which is a factor of the sum ?

Choose one answer · Attempt 1 of 3

Small Hint

How can you write and using ?

Choose one answer · Attempt 2 of 3

Small Hint

How can you write and using ?

Choose one answer · Attempt 3 of 3

Small Hint

How can you write and using ?

Solution

Common Factor Method

Extract the smallest factorial from the sum to turn the addition into a single multiplication, then count the factors of 5 in each part of the resulting product.

Legendre’s Formula tells us how many times a prime number divides a factorial . You find this by dividing by , then by , then by , and so on, rounding down to the nearest whole number each time. Adding these results together gives the total number of factors of the prime.

Step 1: Express larger factorials using the smallest factorial

To factor the sum, we first express the larger factorials in terms of the smallest factorial in the expression, which is 98!.

Step 2: Factor out the smallest factorial

Now, substitute these expressions back into the original sum. Because every term contains 98!, we can factor it out.

Step 3: Count factors of 5 in the integer multiplier

Our sum is now a product of two parts: 98! and 10,000. We need to find how many times 5 is a factor of 10,000. We can find this by writing 10,000 as a power of 10, and then splitting 10 into its prime factors, 2 and 5. The exponent tells us there are exactly 4 factors of 5 here.

Step 4: Count factors of 5 in the factorial component

To find how many times 5 divides the other part, 98!, we use Legendre’s Formula. First, we count the multiples of 5 up to 98. Next, we count the multiples of 25 (which is 5 squared), as they each contribute a second factor of 5. We drop the decimal remainder in each division. There are no multiples of 125, so we stop here.

Step 5: Combine the counts for the final result

The total number of factors of 5 in our product determines the largest possible exponent . We add the number of 5s found in 98! to the number of 5s found in 10,000.

Correct answer: D.
The largest integer is 26, corresponding to choice D. We can verify our work by observing that is the dominant part of the factorization. The added terms and essentially multiply by exactly . Since visibly contains exactly four factors of , correctly counting the factors of in and adding is robust and complete.

Largest Factorial Method

Instead of factoring out the smallest factorial, we can write the smaller factorials as fractions of the largest factorial (). This provides a clever alternative perspective.

Just as we can build larger factorials by multiplying (like ), we can represent smaller factorials by dividing larger ones (like ). This allows us to factor out the largest factorial.

Step 1: Express terms as fractions of the largest factorial

We rewrite 99! and 98! by dividing 100! by the missing terms.

Step 2: Factor out the largest factorial and simplify

Substitute these fractions into the original sum. By factoring out 100!, we can combine the remaining fractions over a common denominator.

Step 3: Count factors of 5 in the factorial component

Just as we did before, we use Legendre’s Formula to count the factors of 5, this time inside 100!.

Step 4: Adjust the count based on the fractional multiplier

The entire expression is equivalent to 100! multiplied by 100 and divided by 99. The multiplication by 100 provides two additional factors of 5. The division by 99 removes none, because 99 is not divisible by 5. We add these to the factors found in 100!.

Correct answer: D.
The total count of factors of 5 is 26, matching choice D. This confirms our earlier answer from a genuinely different direction. Because the original sum is roughly equal to , it makes sense that it contains just a slightly different number of prime factors than itself.

Similar Problems in Real Exams

The following five AMC 8 problems are closely related to AMC 8 2017 Question 19. These real AMC 8 problems test the same key concept—Number Theory. Click any problem to learn and practice, then continue to the adapted practice section later in this article for more problems to try.

2026 AMC 8 Problem 24

2020 AMC 8 Problem 12

2026 AMC 8 Problem 8

2026 AMC 8 Problem 16

2026 AMC 8 Problem 18

Adapted Problems to Practice

1 / 10

What Formulas Do You Need for This Problem?

  • Legendre's Formula:

The number of times a prime number divides is given by

is the positive integer of the factorial, is a prime number, and means rounding down to the nearest integer. We use it to quickly evaluate how many times the prime divides large factorials like and without having to write out all the numbers.

  • Factoring Sums of Factorials:

To simplify a sum or difference of factorials, factor out the smallest factorial in the expression.

Applies to any expression containing the addition or subtraction of multiple factorials. Factoring converts the sum into a product . Finding prime factorizations requires numbers to be written as multiplication, not addition.

Key Takeaway: Remember This Strategy for Next Time

An expression containing a sum or difference of consecutive factorials.

Try: Factor out the smallest factorial to turn the addition into multiplication.

Why: Every larger factorial contains the smallest factorial as a built-in factor. Factoring it out simplifies the expression and allows you to easily analyze its prime factors.

A problem asking for the largest power of a prime that divides a factorial.

Try: Use Legendre's formula by repeatedly dividing the factorial's number by the prime , and summing the whole-number parts of the results.

Why: The first division counts all multiples of , the second division counts the extra factors of hiding inside multiples of , and so on. This systematically accounts for every factor of the prime without missing any.


Unlock More Targeted AMC 8 Practice Resource

Build Stronger Skills. Practice with Purpose. Prepare with Confidence.

Get a complete set of module-focused AMC 8 practice workbooks designed to help students strengthen core concepts, improve problem-solving strategies, and feel more confident on test day.

With 250 practice problems organized across six essential AMC 8 modules, students can focus on one skill area at a time and learn from clear, step-by-step solutions.

AMC8 Practice Resource Pack Promo Cropped Under 2MB

Download the Free AMC 8 Practice Resource Pack

Inside, You’ll Find:

  • 6 module-focused practice workbooks: Algebra, Geometry, Number Theory, Combinatorics, and Probability & Statistics.
  • 250 AMC 8-style practice problems covering essential concepts and common competition question types.
  • Complete answer keys and step-by-step solutions to help students understand the reasoning behind each answer.
  • Organized, print-ready materials for independent study, guided practice, or extra preparation at home.

Get Instant Access: Fill out the form below to receive our exclusive resource pack.

*Please enter a valid email address to access the materials and receive future prep updates.

 AMC 8 Practice Resource Pack
Free Download

After submission, the download link is in the confirmation message on this page.


About Think Academy

Think Academy US Online, part of TAL Education Group (NYSE: TAL), provides structured math and ELA programs that help students build strong academic foundations and grow with confidence. With expert teachers, proven methods, and innovative AI tools, we nurture learning ability, curiosity, and healthy study habits that support long-term growth and a lifelong love of learning.

Check our programs:

Want more insights on Math & ELA learning and parenting? Fill out the form on this page and subscribe to our newsletter for weekly tips and the latest resources. Join 100,000+ families in our Parent Community!

Leave a Comment & Share Your Thoughts!

Published On: November 6, 2026
Post Content
Think Academy AMC 8 Resource Hub

Get expert PreK–12 insights in your inbox every week

To support your child’s learning, confidence, and growth:
✓ Competition & Test Prep
✓ Printable Worksheets
✓ Webinar Invites

Join 100,000+ subscribers in our parent community.

Share This Story, Choose Your Platform!

Related Posts