(New page: It's been a while since I've taken Discrete Math... How do you do i mod n Z?) |
|||
Line 1: | Line 1: | ||
It's been a while since I've taken Discrete Math... How do you do i mod n Z? | It's been a while since I've taken Discrete Math... How do you do i mod n Z? | ||
+ | |||
+ | ---- | ||
+ | I believe this is how you do it: | ||
+ | |||
+ | n = iq + r, where q is the quotient and r is the remainder. | ||
+ | |||
+ | i mod n Z = r |
Revision as of 08:31, 14 September 2008
It's been a while since I've taken Discrete Math... How do you do i mod n Z?
I believe this is how you do it:
n = iq + r, where q is the quotient and r is the remainder.
i mod n Z = r