Can you give me examples for the following $f:\mathbb Z \to \mathbb Z$ (for integer functions)
- injective but not surjective
- surjective but not injective
- surjective and injective
- neither surjective nor injective
Can you give me examples for the following $f:\mathbb Z \to \mathbb Z$ (for integer functions)