- #1
whatlifeforme
- 219
- 0
Homework Statement
Show that if a (is in) Z and d (is in) Z+, d>1 then the quotient and remainder when a is divided by d are a/d and a-d(floor function(a/d))
Homework Equations
The Attempt at a Solution
solution (that i have from handout - that i don't understand)
by thm 2 p202 (? i am not sure what it says as it is in handwriting, but it looks like p202) we know a = dq+r 0<=r<d dividing the equation by d we have a/d = q + r/d w/ 0<=r/d<1, hence by definition it's clear q is (floor function(a/d)) while the original equation shows r = a-dq giving the second result..