Show that $\mathbb{N} \times \mathbb{N} \sim\mathbb{N}$.
I found a bijection such that $g(k,l): \mathbb{N} \times \mathbb{N} \to \mathbb{N}$ by $$g(k,l) = {(k+l)(k+l-1) \over 2} - (l-1)$$
But I am having trouble showing that it is 1-1 and onto. First I said let
$${(k_1+l_1)(k_1+l_1-1) \over 2} = {(k_2+l_2)(k_2+l_2-1) \over 2}$$
and I was trying to use that to show $k_1 + l_1 = k_2 + l_2$ but I don't know how to do that, and once I get there I'm not sure how to show that $l_1=l_2$ or $k_1=k_2$
for onto I said let $y \in k+l$. Then $${y(y-1) \over 2} = y$$ so therefore $g(k,l)$ is onto.
therefore g is a bijection.