$f ( n )=\left[\begin{array}{ll}2 n , \,\,\, \,\,\,\,\,\,n =2,4,6,8, \ldots . \\ n -1,\,\,\, n =3,7,11,15, \ldots . \\ \frac{ n +1}{2}, \,\,\, \,\,\,n =1,5,9,13, \ldots \ldots\end{array}\right.$
then, $f$ is
- Aone-one but not onto
- Bonto but not one-one
- Cneither one-one nor onto
- ✓one-one and onto