The number of positive integers up to 100, which are divisible by 3 or 7 but not by both 3 and 7, is
Show Hint
Logic Tip: The phrasing "but not both" mathematically suggests the symmetric difference $n(A \Delta B) = n(A) + n(B) - 2n(A \cap B) = 39$. However, in many standard exams, trailing phrases are sometimes poorly worded, and the options reveal the true intent was simply the standard union $n(A \cup B) = 43$. Always check your standard calculations against the options!
Concept:
Set Theory - Principle of Inclusion-Exclusion.
Step 1: Define the sets.
Let $A$ be the set of positive integers up to 100 divisible by 3.
Let $B$ be the set of positive integers up to 100 divisible by 7.
The target range is $1 \le x \le 100$.
Step 2: Find the number of integers divisible by 3.
To find the number of elements in set $A$, divide the maximum limit by 3 and take the greatest integer (floor function):
$$ n(A) = \left\lfloor \frac{100}{3} \right\rfloor = 33 $$
Step 3: Find the number of integers divisible by 7.
Similarly, find the number of elements in set $B$:
$$ n(B) = \left\lfloor \frac{100}{7} \right\rfloor = 14 $$
Step 4: Find the number of integers divisible by both 3 and 7.
A number is divisible by both 3 and 7 if it is divisible by their Least Common Multiple (LCM), which is 21. Let this be set $A \cap B$.
$$ n(A \cap B) = \left\lfloor \frac{100}{21} \right\rfloor = 4 $$
Step 5: Evaluate the intended set union.
Based on the provided options and the official answer key, the question asks for the total number of integers divisible by 3 or 7 (the union of the sets).
$$ n(A \cup B) = n(A) + n(B) - n(A \cap B) $$
$$ n(A \cup B) = 33 + 14 - 4 = 43 $$