# Produce an infinite collection of sets $A_1, A_2, A_3,…$ with the property that [duplicate]

Abbott's Understanding Analysis, Problem 1.2.4

Produce an infinite collection of sets $A_1, A_2, A_3,...$ with the property that every set $A_i$ in the collection:

(1) Contains an infinite number of elements,

(2) $$A_i \cap A_j = \emptyset, \quad \forall i \neq j,$$

and

(3) $$\cup_{i=1}^{\infty} A_i = \mathbb{N}.$$

I am unable to come up with a response. The property that $$\cup_{i=1}^{\infty} A_i = \mathbb{N}$$ implies that these sets can only contain elements of the natural numbers. However, it seems to me difficult to produce an infinite collection of sets that contain infinitely many natural numbers each and that are mutually disjoint.

Thank you, for your help. :)

## marked as duplicate by Watson, Namaste elementary-set-theory StackExchange.ready(function() { if (StackExchange.options.isMobile) return; $('.dupe-hammer-message-hover:not(.hover-bound)').each(function() { var$hover = $(this).addClass('hover-bound'),$msg = $hover.siblings('.dupe-hammer-message');$hover.hover( function() { $hover.showInfoMessage('', { messageElement:$msg.clone().show(), transient: false, position: { my: 'bottom left', at: 'top center', offsetTop: -7 }, dismissable: false, relativeToBody: true }); }, function() { StackExchange.helpers.removeMessages(); } ); }); }); Jun 10 '18 at 21:23

• Hint: Think about prime factorization – dbx Jun 10 '18 at 17:07
• Hint: the map $f : \Bbb N^2 \to \Bbb N, (n,a) \mapsto 2^{n}(2a+1) - 1$ is bijective (taking $n=0$ yields the even numbers), and $\Bbb N^2 \simeq \bigsqcup_{n \in \Bbb N} A_n$ where $A_n := \Bbb N$. Conretely, we have the sets $$f(A_n) = \{ 2^n(2a+1) - 1 \mid a \in \Bbb N \},$$ which give a countable partition of $\Bbb N$ into countable sets. – Watson Jun 10 '18 at 18:57

You can give an example by diddling with prime factorizations, as suggested. Or do this: Start with $$\Bbb N=A_1\cup B_1,$$where $A_1$ and $B_1$ are infinite and disjoint. Now write $$B_1=A_2\cup B_2.$$Etc.

Edit: That gives us an infinite sequence of disjoint infinite sets $A_j$. It may not hold that $\Bbb N=\bigcup A_j$. But that's no problem: If $B=\Bbb N\setminus\bigcup A_j\ne\emptyset$ just let $A_1'=A_1\cup B$ and $A_j'=A_j$ for $j>1$.

(For example maybe $A_1$ is the odd integers and $B_1$ the even integers. Next split $B_1$ into the set of $2k$ with $k$ odd and the set of $2k$ with $K$ even... You end up with $A_n$ equal to the set of integers divisible by $2^{n-1}$ but not by $2^n$.)

• I like this one! Thank you! – Rafael Vergnaud Jun 10 '18 at 17:17
• @RafaelVergnaud Glad you like it. You're new here: you should consider clicking on the little arrow to "accept" the answer... – David C. Ullrich Jun 10 '18 at 17:30
• "Accept" is a little checkmark, not arrow. – Henning Makholm Jun 10 '18 at 17:38

For instance, you could let $A_i$ be the multiples of the $i$-th prime that contain none of the lower primes as factors. (You need to add $1$ to any one of these sets, since it occurs in none of them.)

• Thank you for your response! Where would the number twelve fit in, being decomposed into a factorization of $2^2 \times 3?$ – Rafael Vergnaud Jun 10 '18 at 17:12
• @RafaelVergnaud: It's in $A_1$. It's a multiple of the $1$st prime, $p_1=2$, that contains no lower primes as factors (since there are no lower primes). It's not in $A_2$, because though it's a multiple of the $2$nd prime, $p_2=3$, it contains factors of a lower prime (namely $2$), so it doesn't qualify for $A_2$. – joriki Jun 10 '18 at 17:14
• I see! I misunderstood your answer. Thank you :) – Rafael Vergnaud Jun 10 '18 at 17:16

Let $A_2$ be the even numbers, and for primes $p>2$ let $$A_p=\{n\in \mathbb{N} \;|\; n=kp \text{ for some natural number } k \text{ and } n\notin A_q \text{ for } q<p\}$$

Since the primes are countable this will give you your collection.

There's a really rich structure on $\mathbb{N}$ that comes from the Fundamental Theorem of Arithmetic. If we order the primes $p_1, p_2, p_3, \cdots$ we can set $P_i = \{p_i^{k_1}p_2^{k_2} \cdots p_i^{k_i} : k_i \neq 0\}$. Thus $P_1 = \{2,2^2,2^3, \cdots\}$, and $P_2$ contains $3,3^2,3^3, \cdots$ but also $2\cdot3,2\cdot3^2,2\cdot3^3, \cdots$, $2^2\cdot3,2^2\cdot3^2,2^2\cdot3^3, \cdots$, $2^3\cdot3,2^3\cdot3^2,2^3\cdot3^3,$ and so on. It is easy to show these are disjoint as each number only has one largest prime factor. Then you get to use FTA to show they cover $\mathbb{N}.$ You just need to pick a set to cram $1$ into and you'll be done.

• Was not familiar with the fundamental theorem of arithmetic! Thank you for adding to my toolkit ! :) – Rafael Vergnaud Jun 10 '18 at 17:18
• It's quite a strong statement so for many questions over $\mathbb{N}$, even if they don't seem to have anything to do with factorization. It guarantees both that every number can be expressed as a product of increasing primes, and also that the decomposition is unique. Both are used in the argument above. Without uniqueness there could be some number in more than one $P_i$. Without existence, there would be some number that doesn't fall into any of the sets. – user1390 Jun 10 '18 at 17:24

Let $$A_1 = \{1, 2, 4, 6, 8, \ldots\}$$ $$A_2 = \{3,6,9,12, \ldots\} \setminus A_1$$ $$A_3 = \{5,10,15,20, \ldots\} \setminus (A_1\cup A_2)$$

In general $A_n = \{k \cdot p_n : k \in \mathbb{N}\} \setminus (A_1 \cup \cdots \cup A_{n-1})$ where $p_n$ is the $n$-th prime number.

The sets are pairwise disjoint by construction, and are infinite because

$$\{p_n, p_n^2, p_n^3, \ldots\}\subseteq A_n$$

Finally, $1 \in A_1$ and every $k \ge 2$ is in $A_n$ where $p_n$ is the smallest prime factor of $k$. Therefore

$$\bigcup_{n\in\mathbb{N}} A_n = \mathbb{N}$$