Suppose N > 1 is a natural number and f: Z →N υ {0} is the function that associates with each a ε Z its remainder upon division by n; thus, if a = qn + r with 0 ≤ r < n, then f(a) = r.
(a.) Find the domain and range of f
(b.) Is f one-to-one?
(c.) Is f onto?