I am trying to construct such a surjection.
More specifically, given
$f: \mathbb{N} \rightarrow A$
$g: \mathbb{N} \rightarrow B$
$h: \mathbb{N} \rightarrow C$
as surjections, where $A,B,C \subset \mathbb{N}$ and are countably infinite.
I have some find some surjection $j$ such that
$j: \mathbb{N} \rightarrow A \cup B \cup C$ is a surjection.
Obviously decomposing $\mathbb{N}$ into the evens and odds is trivial, but having to do 3 separate sets is a little more confusing.
Define $j: \mathbb{N} \rightarrow A \cup B \cup C$ for $x \in \mathbb{N}$ as
$j(x) = $
- $3(f(x)) -2$ if $x \in A$
- $3(g(x)) -1$ if $x \in B$
- $3(h(x))$ if $x \in C$
Let $y \in (A \cup B \cup C)$.
If $y = 3x-2$ for $x \in \mathbb{N}$, choose $x = \frac{y+2}{3}$
$j(x) = 3*\frac{y+2}{3}-2$
$j(x) = y$
If $y = 3x-1$ for $x \in \mathbb{N}$, choose $x = \frac{y+1}{3}$
$j(x) = 3*\frac{y+1}{3}-1$
$j(x) = y$
If $y = 3x$ for $x \in \mathbb{N}$, choose $x = \frac{y}{3}$
$j(x) = 3*\frac{y}{3}$
$j(x) = y$
So $j$ is surjective.
I cut out the intermediate algebra points for two of the cases, but you see my point. I may have flubbed the notation in some parts. Please let me know what works and what doesn't.
Hint: Consider sending $3n-2$, $3n-1$, and $3n$ to the $n^{th}$ element of $A$, $B$, and $C$, respectively, using your original surjections.