Saintly

Casework

24 Problems • 3 sub-topics

Adalynn Le • 5/27/2026

Introduction

Csaework is a type of counting and, technically, brute force that requires you to break a problem into different parts, called cases, and solve them independently. It is one of the most common tricks in Number Theory and Combinatorics because it can be applied to any problem. Even though it is brute force in its foundation, it is essential for making calculations faster and more efficient.

select_check_box What is it?
Casework is the process of systmeaticall dividng all possible values or combinations of a problem into different cases and solving them independently. It is a method of systematic counting and brute force.
select_check_box Why Study?

In addition to being a common tool on the AMC 10, casework is a good skill to have in general. On the AMC 10, it'll come into play for solving large combinatorics problems quickly and efficiently, but dividng into cases and knowing how to understand advanced problems and break them into small parts is important in general.

Using Casework

When to use Casework

I like to say that casework can be applied to anything in combinatorics, because when it comes down to it casework is just a type of counting, and combinatorics is fundamentally counting. That being said, casework is technically brute forcing, which we want to avoid unless it is nescessary or optimal. There will sometimes be better solutions to casework, or combinations of when to use casework, etc.

Casework is best used when there are distinct and manageable cases (small case sizes, not many). Of course, this hardly simplifies it, so we'll go into a few cases where casework tends to be likely:

    In number theory/combinatorics questions where one digit is set, either by divisibility or by a clear constraint (e.g. "divisible by 5" would indicate what the last digit is, and you can solve for the remaining digits by cases for if it is \(0\) or \(5\))
    When there are boundaries ("at least", "at most"), where you can solve for all cases that are under or over the constraint
    When there are already clearly defined cases and they are easy to solve (e.g. how many combinations are there of 3 items taken 2 at a time?)
    When finding the opposite would take too long. If finding the "complement" or opposite would be easier, that is indicative of complementary counting.

Casework will work in a lot of situations, if not all, but it helps to know when it is best.

How to Divide Into Cases

Cases must fit two situations: they must be mutually exlcusive and collectively exhaustive. In a more simple vernacular, they must not overlap, and alltogether they must cover the entire data set. For instance, if we said that we had knights that were either red or blue and then were also either magic or non-magic, we can't say our cases are red and magic, because that could overlap and would discount blue-non-magics. We can't do red-blue-magic-non-magic because those would overlap. Thus, we would have to do red-blue or magic-non-magic.

AMC 10B 2021 Spring Problem 16 star star star star

Call a positive integer an uphill integer if every digit is strictly greater than the previous digit. For example, \(1357\), \(89\) and \(5\) are all uphill integers, but \(32\), \(1240\) and \(466\), are not. How many uphill integers are divisble by \(15\)?

Conclusion

Casework is the fundamental tool for systematic counting. It is widely applicable to most if not all combinatorics problems. Although it may not always be the fastests, there are situations where it can drastically increase your accuracy and efficiency.

Question 1:

Loading question...

Welcome Back!

Access your progress across all your devices

Username

Need Some Help?

Contact us through our form

Privacy Policy

Data Collection
  • We use local storage to track and save your ELO on your device
  • We use Supabase backend to track overall acuracy on questions
  • We trackk individual user usage on our website, pages, etc. by tracking time spent and interaction
  • How we use your data
  • To personalize your learning experience
  • We never sell your data to third parties
  • Children's Privacy
  • Saintly is intended for students. We encourage parents to monitor their children's internet usage. We do not knowingly collect personal information from children under 13 without parental consent (per COPPA guidelines).
  • Terms and Conditions

  • By using Saintly you agree to the terms and conditions
  • You may not scrape the site or re-distribute our unique interactive code without permission.
  • Be "Saintly." No harassment, no attempts to hack the site, and no using the platform to cheat on active competitions.
  • Math is hard! While we strive for 100% accuracy, Saintly is provided "as is." We aren't responsible if a specific formula explanation doesn't lead to a perfect AMC score (though we hope it does!).
  • Saintly and its volunteers are not liable for any damages arising from your use of the site.