Exercise 2
A function f {1,2,3,4,5} {0, 1,2,3,4} is defined by the rule: f(n) is the remainder after 3n is
divided by 5. Draw an arrow diagram for this function. Hence state whether is one-to-one and
whether f is onto.