Example. [009V]

Let h : \mathbb {N} \to \mathbb {N} be defined by h(n) = 2n. The domain and codomain of h are both \mathbb {N}; the range is the set of all even natural numbers.