7mod35mod8-32mod5

<--- Enter a mod b statement(s)

Perform the modular arithmetic 7mod35mod8-32mod5

Determine 7 mod 35
Modulus statements are in the form c ≡ a mod b where:
The modulus (c) is the remainder (left over) piece after a is divided by b
In this case, a = 7 and b = 35

35 goes into 7 a total of 0 times
35 x 0 = 0
The remainder (left over) piece is 7 - 0 = 7
Therefore, 7 mod 35 ≡ 7
In Microsoft Excel or , you write this function as =MOD(7,35)


Determine -32 mod 5
Modulus statements are in the form c ≡ a mod b where:
The modulus (c) is the remainder (left over) piece after a is divided by b
In this case, a = -32 and b = 5

5 goes into -32 a total of -7 times
5 x -7 = -35
The remainder (left over) piece is -32 - -35 = 3
Therefore, -32 mod 5 ≡ 3
In Microsoft Excel or , you write this function as =MOD(-32,5)


Simplify our modular arithmetic:
7 + 3 = 10