If a function is both one-to-one and onto it is called a one-to-one correspondence or a bijection.

Exercise: Construct a function on the integers that is onto but not one-to-one. (possible solution)

Exercise: Construct a function on the integers that is one-to-one but not onto. (possible solution)