I am having trouble understanding this exercise from my study guide:
Let $M = \{5k + 1 \mid k \in \mathbb{Z}, 0 \le\ k \le\ 240\}$. How many integers in $M$ are neither odd nor multiples of $6$?
Given Answer:
Let $A = \{x \in M \mid x \text{ is odd}\}$ and $B = \{y \in M \mid y \text{ is a multiple of 6}\}$.
We want to find $|M - (A \cup B)|$.
We see that a multiple of $6$ is even; hence $A \cap B = \emptyset$.
Why is this equal to the empty set?
Verify that,
I don't understand how to get the sets for $A$ and $B$
$$A = \{10k + 1 \mid 0 \le k \le 23\} \qquad\text{and}\qquad B = \{30m + 6 \mid 0 \le m \le 7\}.$$
Hence, $$|A \cup B| = 24 + 8 = 32,$$ and
Why $24$ and $8$?
$$|M - (A \cup B)| = |M| - |A \cup B| = 241 - 32 = 209 $$
Why $241$ and $32$?
Thanks for any help.
$...$for inline math,$$...$$for displayed math. – Zev Chonoles Oct 07 '13 at 01:17Please see here for a guide to writing math with MathJax, and see here for a guide to formatting posts with Markdown.
– Zev Chonoles Oct 07 '13 at 01:22