The question is: Prove if $A_1, . . . , A_m$ are each countable sets then $A_1∪ · · · ∪ A_m$ is countable.
My attempt: First consider two countable sets $A_1$ and $A_2$. And let $B_2=A_2/A_1$, so $A_1$ and $B_2$ is disjoint. Then $A_1 \cup A_2 = A_1 \cup B_2$. Now since $A_1$ and $B_2$ are countable, $A_1=\left\{a_1, a_2, .. \right\}$ and $B_2=\left\{b_1, b_2, .. \right\}$. Then $A_1 \cup B_2=\left\{ a_1, b_1, a_2, b_2, ..\right\}$. Now if we define a function $f:\mathbb{N} \rightarrow A_1 \cup B_2$ in the following way,
$$ f(n)= \left\{\begin{matrix} a_\frac{n+1}{2}& \text{if n is odd} \\ b_n& \text{ if n is even} \\ \end{matrix}\right. $$ Now we can see that $A_1 \cup B_2= A_1 \cup A_2$ is countable. Now using induction we can show that $A_1∪ · · · ∪ A_m $ is countable. Suppose $A_1∪ · · · ∪ A_m$ is countable. Then $(A_1∪ · · · ∪ A_m )\cup A_{m+1}$ is countable since we know that the union of two countable set is countable.
Is that the right way to prove it?