Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. 2011-02-03
  2.  
  3. Division Algorithm
  4.  
  5. For any two integers (natural numbers) a < b, there are natural numbers q, r so that
  6. b = aq + r 0 ≤ r < a
  7.  
  8. For instance:
  9.  
  10. b = 7 a = 2 7 = 2(3) + 1
  11. b = 12 a = 2 12 = 2(6) + 0
  12.  
  13. If a = 2, the possible remainders are: 0,1
  14. If the remainder is 0, we call b even.
  15. If the remainder is 1, we call b odd.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement