If $a,b \in \Bbb Z$, then I know that $ a=be+r$, where $e\in \Bbb Z$ and $r$ is the remainder. How can I prove that $e$ is equal to $⌊\frac ab⌋$?
I'm missing this step in another proof and I really don't know how to prove it.
Thanks.
If $a,b \in \Bbb Z$, then I know that $ a=be+r$, where $e\in \Bbb Z$ and $r$ is the remainder. How can I prove that $e$ is equal to $⌊\frac ab⌋$?
I'm missing this step in another proof and I really don't know how to prove it.
Thanks.
$a = be+r$ and $r<b$ so $$ be\le a = be+r<be+b = (e+1)b;\\ e\le \frac ab< e+1 $$ and as $e\in\Bbb Z$, $$ e = [\frac ab] $$