2020 AMC 10B Problem 19
In a certain card game, a player is dealt a hand of cards from a deck of distinct cards. The number of distinct (unordered) hands that can be dealt to the player can be written as . What is the digit ?
Show solution without answering
Key insight
The number of hands is divisible by 4 but not 8, and not by 3. The digit tests for 3, 4 and 8 then leave only A = 2.
Solution
The number of hands is
Computing it is too slow, but we can count how many factors of and it has. Then the divisibility tests on the digits will pin down .
- Factors of . On top, the multiples of from to are , and : that is threes. On the bottom, , and give threes. They cancel, so is not divisible by .
- Factors of . On top: gives , gives , gives , gives , gives . Total . On the bottom: gives , gives , gives , gives , gives . Total . So twos are left: is divisible by but not by .
- Use the test for . The digit sum is . It must not be a multiple of . Since is a multiple of , must not be, which rules out and .
- Use the test for . The last two digits, , must form a multiple of . That needs even ( and work, does not), which rules out .
- Use the test for . The last three digits, , must not form a multiple of . For : , a multiple of , so is out. For : , not a whole number, so is fine.
Only is left. (In fact .)
The answer is .
Why this works
When a number is shown with missing digits, you usually cannot compute it, but you can find which small numbers divide it. Counting the factors of and on the top and bottom of the fraction tells you exactly that. Facts like "not divisible by " and "not divisible by " are just as useful as "divisible by ", because the digit tests turn each one into a condition on .
Concise solution
A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.
The number is . Instead of computing it, test divisibility by small primes using the exponent of each prime in the factorials.
Prime 3. Exponent in : . In : . In : . Net: , so . The digit sum of is , which must not be a multiple of : this rules out and .
Prime 2. Exponent in : . In : . In : . Net: , so is divisible by but not by .
Divisible by : the last two digits must form a multiple of , so is even; this rules out . Not divisible by : the last three digits must not be a multiple of . For , fails; for , is fine.
Only survives (indeed ).
The answer is .
Review in the AoPS books
- Introduction to Number Theory, Chapter 1: Integers: The Basics (§1.4, §1.5)
- Introduction to Number Theory, Chapter 2: Primes and Composites
- Introduction to Counting & Probability, Chapter 1: Counting Is Arithmetic
- Introduction to Number Theory, Chapter 5: Divisor Problems (§5.2, §5.3)
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.