Let ,and , then the sum of all the elements of the set is equal to ______.
Solution
Core idea. Elements of a given form that satisfy a parity condition form an arithmetic progression with doubled difference.
Concept refresher. An arithmetic progression of terms with first term and last term has the sum
Picture the situation. The set contains the natural numbers with . The set contains the numbers that are not even. Since is odd exactly when is even, these are 7, 13, 19 and so on.
Approach. Describe each set, list the common elements as an arithmetic progression, and sum it.
Step 1: The first set
For , , which is within 10000, and for it is 10100, which is not. So is the set of natural numbers from 1 to 100.
Step 2: The common elements
The odd numbers of the form with are 7, 13, 19 and so on, with common difference 6. The last one up to 100 is 97, and the number of terms is .
Step 3: The sum
The sum of an arithmetic progression is the number of terms times the mean of the first and last, so it is .
Answer. 832
Sanity check. The 16 terms have mean , and .
Common wrong answers
- 833: Allowing adds the number 1 and gives 833; the natural numbers here start at 1.
Key takeaway
The trap. The smallest multiplier is one, not zero.
How toppers think. They find the first and last terms and use the mean.
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 ›