I have a question here that asks to:

Give an example of a function N --> N that is

i) onto but not one-to-one

ii) neither one-to-one nor onto

iii) both one-to-one and onto.

If anyone could help me with any of these, it would be greatly appreciate. Thanks.