Discrete Math or modulus

  • #1
35
0

Homework Statement



Find the remainder of dividing 2(562009)-3.

Homework Equations



Let m be a positive integer. If a[tex]\equiv[/tex]b (mod m) and c[tex]\equiv[/tex]d (mod m), then a + c [tex]\equiv[/tex] b + d (mod m) and ac[tex]\equiv[/tex]bd (mod m).

The Attempt at a Solution



Using ac[tex]\equiv[/tex]bd (mod m):

(2 mod 55)(562009mod 55) - (3 mod 55)

Using a + c [tex]\equiv[/tex] b + d (mod m)

(2 mod 55)((552009 mod 55) + (12009 mod 55)) - (3 mod 55)

(2)(0+1)-(3) = -1 OR remainder of 54

This was a problem on my math test and I got 52 as the remainder at first, but it was wrong.

Thx if you can help me.
 
  • #2
54 is right, 52 is wrong. But your method is dubious. It looks like you are trying use a rule like (a+b)^n mod m=(a^n mod m)+(b^n mod m). That's not right. What is true is that a^n mod m=(a mod m)^n. Just use that 56 mod 55=1.
 
  • #3
Thanks so much =D, i'll remember that.
 

Suggested for: Discrete Math or modulus

Replies
16
Views
626
Replies
12
Views
711
Replies
8
Views
991
Replies
2
Views
505
Replies
6
Views
882
Replies
3
Views
787
Replies
4
Views
812
Replies
4
Views
572
Back
Top