Hi all,

Consider the function f(x,n) = x mod n.

What is the domain of f ?

what is the range of f ?

Let g(n) = f(87,n) Evaluate g(g(g(8)))

Is the domain simply say, the set of Real numbers?

Is the range {x,...,(n-1)} ?

last part totally stumped but assumed something like

(87,8) = 7

(7,8) = 7

7,7 = 0

g o g o g = 0?????

any help would be great, exam tomorrow, and i did try to solve!!!