I'm trying to prove the following:
Let $\Bbb Q$ be the countable set of rational numbers and $\{x_n\}_{n=1}^\infty$ be a sequence such that for every q $\in$ $\Bbb Q$ there is a $n \in \Bbb N$ with $x_n = q$. Prove that there is such a sequence $\{x_n\}$.
My initial thoughts for an attempt at a solution:
We know that $|\Bbb Q| = |\Bbb N|$ by the Cantor Theorem. Further, I can show that there is a bijection between $\Bbb Q$ and $\Bbb N$.
If I define $\{x_n\}_{n=1}^\infty$ as some relation between $(p,q) \in \Bbb Z \times \Bbb Z$, will ths properly prove that such a sequence exists?