The Division Algorithm states: Let a,b belong to Z, b does not equal zero. Then there exist unique integers q and r, with 0 is less than or equal to r and less then the absolute value of b, such that a = qb+r
I have a question here that asks: Find q and r as defined in the Division Algorithm in each of the following cases:
i) a = 5286; b = 19
ii) a = -5286; b = 19
iii) a = 5286; b = -19
iv) a = 19; b = 5286
Any help with any of these would be greatly appreciated. Thanks a lot guys.