2020 AMC 10A Problem 18
Let be an ordered quadruple of not necessarily distinct integers, each one of them in the set For how many such quadruples is it true that is odd? (For example, is one such quadruple, because is odd.)
Show solution without answering
Key insight
The difference is odd when exactly one of the two products is odd. A product of two numbers from 0 to 3 is odd for only 4 of 16 pairs.
Solution
Only odd and even matter here, so first figure out when a difference is odd.
- Odd minus even is odd, and even minus odd is odd. But odd minus odd and even minus even are even. So exactly one of and must be odd.
- When is odd? A product is odd only when both numbers are odd. In the odd numbers are and . So has choices and has choices: pairs give an odd .
- There are pairs in all, so pairs give an even .
- The same counts hold for : odd, even.
- Case 1: odd and even: quadruples.
- Case 2: even and odd: quadruples.
- Total: .
Check with the example: has (even) and (odd), so it is in Case 2.
The answer is .
Why this works
For questions about odd and even, replace each number by just "odd" or "even" and count choices. A product is odd only if every factor is odd, and a difference is odd only if the two parts differ in type. The two cases here mirror each other, so you can count one and double it.
Alternative approach
Think in chances. Each of and is odd with chance , and they do not affect each other. Exactly one is odd with chance . There are quadruples, and .
Concise solution
A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.
A difference is odd exactly when its two terms have opposite parity, so we need one of , odd and the other even.
Count ordered pairs from ( pairs) by the parity of . The product is odd only when both factors are odd, and each has odd choices: pairs. The remaining pairs give an even product. The same counts hold for .
Quadruples with odd and even: . Quadruples with even and odd: . Total
The answer is .
Review in the AoPS books
- Introduction to Number Theory, Chapter 1: Integers: The Basics
- Introduction to Counting & Probability, Chapter 1: Counting Is Arithmetic
- Introduction to Algebra, Chapter 22: Special Manipulations (§22.3)
- Introduction to Algebra, Chapter 20: Special Functions (§20.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.