What Is the Process to Solve for d in the Equation (d)(13) mod (2436) = 1?

  • Thread starter maxfails
  • Start date
  • Tags
    Modulus
In summary, the conversation discusses the process of finding the value of d in the equation (d)(13) mod (2436) = 1. It is explained that this involves finding a number, n, such that 13n - 2436k = 1, and that this can be done using the Euclidean division algorithm. It is also mentioned that the modular inverse of 13 and 2436 is needed to find the value of d, which is 937.
  • #1
maxfails
11
0
I need to figure out the value for d in this equation, but because the numbers are large, I don't know how.

(d)(13) mod (2436) = 1.

d times 13 mod 2436 should be equal to 1.

Is there a process I can use to find out the value of d.
 
Physics news on Phys.org
  • #2
hi maxfails! smile:

hint: divide 2436 by 13 :wink:
 
  • #3
tiny-tim said:
hi maxfails! smile:

hint: divide 2436 by 13 :wink:
2436 isn't a multiple of 13. Maybe I'm missing the point.
 
  • #4
That "2435 isn't a multiple of 13" is the point! If it were, there would be no answer to this problem. "Modulus" problems are all about remainders. You are trying to find a number, n, such that some multiple of 2436, divided by 13n, has remainder 1, that is, such that [itex]13n= 1+ 2436k[/itex] for some integer k. That is the same as [itex]13n- 2436k= 1[/itex].

Euclidean division algorithm:

13 divides into 2436 187 times with remainder 5- that is, 2436- (187)(13)= 5.

5 divides into 13 twice with remainder 3- that is, 13- (2)(5)= 3.

3 divides into 5 once with remainder 2- that is 5- 1(3)= 2.

2 divides into 3 once with remainder 1- that is, 3- 1(2)= 1.

Replace that "2" by 5- 1(3) from the previous equation: 3- 1(5- 1(3))= 2(3)- 5= 1. Replace the "3" in that with 13- 2(5): 2(13- 2(5))- 5= 2(13)- 5(5)= 1.
Replace the "5" in that by 2436- 187(13): 2(13)- 5(2436- 187(13))= 937(13)- 5(2436)= 1.

Now that I used 2436 rather than the mistaken 2435, I get the same result as Mensenator.
 
Last edited by a moderator:
  • #5
maxfails said:
I need to figure out the value for d in this equation, but because the numbers are large, I don't know how.

(d)(13) mod (2436) = 1.

d times 13 mod 2436 should be equal to 1.

Is there a process I can use to find out the value of d.

Yes, find the modular imverse of 13 & 2436.

the answer is then invert(13,2436) * 1 % 2436.

Should be 937.
 
  • #6
lol, you are in my security class.
prolly Ian.
 

FAQ: What Is the Process to Solve for d in the Equation (d)(13) mod (2436) = 1?

What is a modulus?

A modulus is a mathematical operation that calculates the remainder after dividing one number by another. It is often represented using the symbol %.

How do you solve a modulus problem?

To solve a modulus problem, you first need to understand the formula: a % b = r, where a is the dividend, b is the divisor, and r is the remainder. You can then use this formula to find the remainder when dividing two numbers.

What is an example of a simple modulus problem?

A simple modulus problem could be something like 12 % 5 = 2. In this problem, 12 is the dividend, 5 is the divisor, and 2 is the remainder.

Why is the modulus operation useful?

The modulus operation is useful in many different applications, such as finding the day of the week, determining if a number is even or odd, and calculating cyclic patterns. It is also commonly used in computer programming and cryptography.

Can you explain the difference between modulus and division?

The main difference between modulus and division is that division gives the quotient, or the result of the division, while modulus gives the remainder. For example, 12 / 5 = 2, while 12 % 5 = 2. The division operation is also inverse to multiplication, while the modulus operation is inverse to the division operation.

Similar threads

Back
Top