Let us perform the following modular arithmetic by applying the addition/subtraction rule.
(a) (9+15)mod7=(9mod7)+(15mod7)=(2mod7)+(1mod7)=3mod7
(b) (15−23)mod5=(15mod5)−(23mod5)=(0mod5)−(3mod5)
=−3mod5=2mod5
(c) (−47⋅(5+1))mod5=(−47mod5)⋅((5+1)mod5)
=(3mod5)⋅(1mod5)=3mod5
Comments