Example. [00AD]

h : \mathbb {N} \to \mathbb {N}; h(n) = 2n is not onto either. The range of h is only the even natural numbers; all the odd natural numbers are not covered. However, we could make an onto function from \mathbb {N} to \mathbb {N}, for example, the function f(n) = n.