Example Exercise

Example 10
Show that the function \(f : \mathbb{N} \to \mathbb{N}\) given by \(f(1) = f(2) = 1\) and \(f(x) = x - 1\), for every \(x > 2\), is onto but not one-one.