Posted by Francesca on Monday, October 10, 2011 at 12:31pm.
a mod b = (a + nb) mod b
so, -45 mod 13 = mod (-45 + 52) mod 13 = 7 mod 13 = 7
Just add a big enough multiple of the modulus so you have a positive number.
Related Questions
Math - How do I solve for negative modular arithmetic? Here is an example: -45 ...
Math - I am to find all possible values of a and b where a, b are positive ...
math - Perform the modular arithmetic operation 6.9 ( mod 5)
math - Which two is true as i'm confused A) 3+7 ß 10 mod 15 17...
Math - Solve X=8(mod 11), X=9(mod 12), X=10(mod 13)
Math - Which Statements of congruence are true and which are false and why? 177 ...
math - Which Statements of congruence are true and which are false and why? 177 ...
Math - Which Statements of congruence are true and which are false and why? 177 ...
math - Hi I need someone to check my answers I'll show whatever work I have ...
algebra - I'm pretty sure these are right but I just want to check. 1)Find ...
For Further Reading