Give an example of a function from N to N that is

Give an example of a function from N to N that is

a) one-to-one but not onto.

b) onto but not one-to-one.

c) both onto and one-to-one (but different from the identity function).

d) neither one-to-one nor onto.

Answer:

d) neither one-to-one nor onto.

Follow:
Allen is a Technology guy, He basically works on Top articles related to Technology, Gadgets, and more. To know more about his work.
Leave a comment