Solving Modular Exponentiation: How Did My Friend Break Down 95937 mod 2537?

  • Thread starter Thread starter Raza
  • Start date Start date
Click For Summary
SUMMARY

The discussion focuses on solving the modular exponentiation problem of calculating 95937 mod 2537. The correct answer is established as 1520, achieved through the use of MAGMA, a computational algebra system. The breakdown of the calculation involves utilizing properties of modular arithmetic and the Chinese Remainder Theorem, leading to the simplification of the large exponentiation into manageable components. The participants clarify the steps taken to arrive at the solution, emphasizing the importance of modular reduction at each stage.

PREREQUISITES
  • Understanding of modular arithmetic
  • Familiarity with the Chinese Remainder Theorem
  • Experience using MAGMA for computational algebra
  • Knowledge of residue class rings
NEXT STEPS
  • Learn about modular exponentiation techniques in detail
  • Explore the implementation of the Chinese Remainder Theorem in programming
  • Study the properties of residue class rings and their applications
  • Practice solving modular arithmetic problems using MAGMA
USEFUL FOR

Mathematicians, computer scientists, and students studying number theory or cryptography who are interested in modular arithmetic and computational methods for solving large exponentiation problems.

Raza
Messages
203
Reaction score
0

Homework Statement



95937 mod 2537

Homework Equations


None


The Attempt at a Solution


Here's what my friend did:
Clipboard01-1.jpg

How do I do this? and how did he do this?
 
Last edited:
Physics news on Phys.org
Raza said:
95 \times 1786 \times 341 \times 2188 \times 403

How do I do this? and how did he do this?
This can't be right, because the product above ends with a 0. Powers of any number that ends with a 5 will also end with a 5 (except if the exponent is 0). In fact, for n >=5,
95n ends with "09375" if n is odd, and
95n ends with "90625" if n is even.

If found this through using Calculator in Windows 7. :wink:

Furthermore,
Raza said:
Here's what my friend did:
95^{937}

95 \times 240^{234}
This isn't right either. According to Calculator,
95937 ≈ 1.33 * 101853, but
95 * 240234 ≈ 8.85 * 10558.
(This assumes that there is no overflow error here.)

In fact, 95937 should equal 95 * (81450625)234.

Is the entire problem? Perhaps it should be 95937 mod some number?
 
Last edited:
removed
 
Last edited:
what is the question exactly ?
 
how did my friend do it?
how did he break down the huge number?
'
basically
how do you compute 95937 mod 2537
 
I see, well the answer is 1520 but I found that by using MAGMA. Do not know yet how to do it manually.

Code:
n := 2537;
R := ResidueClassRing(n);

number := R ! 95; 
number ^ 937;

http://magma.maths.usyd.edu.au/calc/
 
What you could do is looking at the unit group of Z/2537Z. I found out it is isomorphic to Z/2Z x Z/1218Z however I used MAGMA too for this one.

Another trick (it seems your friend did something like that): break down Z/2537Z. You have (at least when it comes to addition) an isomorphism with Z/pZ x Z/qZ (do not confuse this with the isomorphism of the unit group). You can repeat that, it has to do with the Chinese Remainder theorem I think.
 
Last edited:
Okay, I had this question in my exam and after being verified by other people, I think I got it correct.
95937 mod 2537 = 95512 mod 2537 x 95256 mod 2537 x 95128 mod 2537 x 9532 mod 2537 x 958 mod 2537 x 951 mod 2537

So now you do the mod from the power of 1 at .
951 mod 2537 = 95
952 mod 2537 = 1414
954 mod 2537 = (952)2 mod 2537 = 14142 mod 2537 = 240
958 mod 2537 = (954)2 mod 2537 = 2402 mod 2537 = 1786
9516 mod 2537 = (958)2 mod 2537 = 17862 mod 2537 = 787
9532 mod 2537 = (9516)2 mod 2537 = 7872 mod 2537 = 341
9564 mod 2537 = (9532)2 mod 2537 = 3412 mod 2537 = 2116
95128 mod 2537 = (9564)2 mod 2537 = 21162 mod 2537 = 2188
95256 mod 2537 = (95128)2 mod 2537 = 21882 mod 2537 = 25
95512 mod 2537 = (95256)2 mod 2537 = 252 mod 2537 = 625

From the first equation:
95937 mod 2537 = (625 x 25 x 2188 x 341 x 1786 x 95) mod 2537
95937 mod 2537 = (625 x 25) mod 2537 x (2188 x 341) mod 2537 x (1786 x 95) mod 2537
95937 mod 2537 = (403 x 230 x 2228) mod 2537 = 1520
 

Similar threads

Replies
1
Views
1K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 28 ·
Replies
28
Views
6K
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
6
Views
2K
  • · Replies 40 ·
2
Replies
40
Views
5K
  • · Replies 10 ·
Replies
10
Views
2K