Is $\mathbb{N}\rightarrow \mathbb{N\times N},f(x)=(x,x)$ onto?
I am not sure how to tell. Say $b\in N\times N$ this means the codomain is all the different combinations of the natural numbers.
But the domain is only the natural numbers multiplied, like $3\times 7$