What is the Remainder of Dividing 2(562009)-3?

In summary, the problem is to find the remainder of dividing 2(562009)-3, and the correct answer is 54. The method used by the student in the attempt at a solution is incorrect, as they were trying to apply a rule that is not valid. The correct approach is to use the fact that a^n mod m = (a mod m)^n.
  • #1
bphysics
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.
 
Physics news on Phys.org
  • #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.
 

1. What is discrete math?

Discrete math is a branch of mathematics that deals with mathematical structures that are countable or finite. It involves the study of discrete objects and their properties, such as integers, graphs, and sets.

2. How is discrete math used in computer science?

Discrete math is the foundation of computer science, as it provides the necessary tools and techniques for algorithm design and analysis, data structures, and logic. It is used to solve problems and model processes in computer science and information technology.

3. What is modulus in discrete math?

In discrete math, modulus (or modular arithmetic) is a mathematical operation that calculates the remainder when one integer is divided by another. It is denoted by the symbol "%". For example, 13 % 5 = 3, as 13 divided by 5 has a remainder of 3.

4. What are some applications of modulus in real life?

Modulus is used in a variety of real-life applications, such as timekeeping (using the 24-hour clock), cryptography for secure communication, and in computer graphics for creating repeating patterns. It is also used in calculating interest rates and determining prime numbers.

5. How does modulus relate to modular arithmetic?

Modulus is a fundamental operation in modular arithmetic, which is a system of arithmetic for integers where numbers "wrap around" after reaching a certain value (known as the modulus). It is used in solving problems related to periodic phenomena, such as finding the day of the week for a given date or determining the hour on a 24-hour clock.

Similar threads

  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
27
Views
2K
  • Calculus and Beyond Homework Help
Replies
4
Views
849
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
16
Views
1K
  • Calculus and Beyond Homework Help
Replies
16
Views
2K
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
6
Views
1K
  • Calculus and Beyond Homework Help
Replies
9
Views
2K
Replies
5
Views
2K
Back
Top