The number of elements in the setequals ______
Solution
Core idea. An equation with unequal coefficients is counted by fixing the variable with the largest coefficient.
Concept refresher. The equation has one solution in non-negative integers for each from 0 up to the whole part of , so their number is
Picture the situation. Since , runs from 0 to 14. For each the equation becomes , where can be any integer from 0 up to half of the right side and is then fixed. So the solutions are counted by .
Approach. Count the solutions for each value of the third variable and add.
Step 1: One value of the third variable
For a fixed , can take the values 0 up to the whole part of , and is then determined.
Step 2: Even values
For the counts are 22, 19, 16, 13, 10, 7, 4 and 1, which add to 92.
Step 3: Odd values
For the counts are 20, 17, 14, 11, 8, 5 and 2, which add to 77. So the set has elements.
Answer. 169
Sanity check. The two lists are arithmetic progressions: and .
Common wrong answers
- 168: Stopping at misses the solution and gives 168.
Key takeaway
The trap. The formula with binomial coefficients needs all coefficients equal to one.
How toppers think. They split the fixed variable into even and odd values so that each list is an arithmetic progression.
Remember.
More on Set Operations & Venn Diagrams
- Let A = {x: |x² - 10| ≤ 6} and B = {x: |x - 2| > 1}. Then
- Let S = {p₁, p₂, …, p₁₀} be the set of first ten prime numbers. Let A = S ∪ P, where P is the set of all…
- Let A = {x ∈ (0, π) - {π/2}: log(2/π)|sin x| + log(2/π)|cos x| = 2} and B = {x ≥ 0: √(x)(√(x) - 4) - 3|√(x)…
- All 31 on Set Operations & Venn Diagrams ›