The Answer to the Question
is below this banner.
Here's the Solution to this Question
There is two cases:
function multiplies two positive integers (because r(a, b) = 0); for example g(2,4)=2x2=4, g(3,9)=3x3=9, g(3,15)=3x5=15
second case - the result of function is remainder of dividing two positive integers; for example: g(7,8)=1, g(5,19)=4