Modular Arithmetic: 8^7 ≡ (-5)^7 (mod 13) and (25)^3 ≡ (-1)^3 (mod 13)?

  • Thread starter Thread starter Inviction
  • Start date Start date
  • Tags Tags
    Arithmetic
Click For Summary
SUMMARY

The discussion centers on the equivalence of 8^7 and (-5)^7 modulo 13, as well as the equivalence of (25)^3 and (-1)^3 modulo 13. Participants clarify that since 8 is congruent to -5 and 25 is congruent to -1 under modulo 13, their powers will also be congruent. The discussion emphasizes that in modular arithmetic, if a ≡ b (mod n), then a^k ≡ b^k (mod n) holds true for any integer k. The use of the FiniteField function in Magma to verify these relationships is also highlighted.

PREREQUISITES
  • Understanding of modular arithmetic concepts
  • Familiarity with congruences and their properties
  • Basic knowledge of finite fields, specifically F13
  • Experience with computational tools like Magma for mathematical verification
NEXT STEPS
  • Explore the properties of finite fields, particularly F13
  • Learn about the application of modular arithmetic in cryptography
  • Investigate the use of computational tools like Magma for advanced mathematical calculations
  • Study the implications of Fermat's Little Theorem in modular arithmetic
USEFUL FOR

Students and enthusiasts of mathematics, particularly those studying number theory and modular arithmetic, as well as educators looking for practical examples of congruences in action.

Inviction
Messages
2
Reaction score
0
I have a simple question:

Why does 8^7 ≡ (-5)^7 (mod 13) and (25)^3 ≡ (-1)^3 (mod 13)?

In essence I want to show that 8^7 + 5^7 = 13^7, so that both sides of the equation ≡ 0 (mod 13) and therefore 8^7 ≡ (-5)^7 (mod 13).

I know that in a field of characteristic p>0, (x + y)^p = x^p + y^p, but the problem here is that the exponent is 7, not 13.

I also noticed that the equation works for odd integers but not even ones, i.e., 8^3 ≡ (-5)^3 (mod 13), 8^5 ≡ (-5)^5 (mod 13), etc.

Can anyone help me out here? Thanks.
 
Physics news on Phys.org
8 is equal to -5 mod 13. 25 is equal to -1 mod 13. Why is it surprising their powers would also be equal?
 
Dick said:
8 is equal to -5 mod 13. 25 is equal to -1 mod 13. Why is it surprising their powers would also be equal?

Oh wow thanks, that was totally not intuitive for me for some reason, but I see it much more clearly now. I just started doing modular arithmetic and never realized the same rules still apply. I guess "≡ (mod n)" is the same as "=" as far as any calculations are concerned?
 
Inviction said:
Oh wow thanks, that was totally not intuitive for me for some reason, but I see it much more clearly now. I just started doing modular arithmetic and never realized the same rules still apply. I guess "≡ (mod n)" is the same as "=" as far as any calculations are concerned?

Sure. If a=b mod n then a^k=b^k mod n for any k. That's not true for ANY operation. But it's true for the operations that respect mod arithmetic.
 
F13 is a field like R or C. When it comes to =, +, -, *, brackets, -1 it behaves exactly the same. There is no need to work with 'mod' or what so ever.

Running code below in http://magma.maths.usyd.edu.au/calc/ returns '0'.

Code:
F := FiniteField(13);

eight := F ! 8;
five:= F ! 5;
thirteen := F ! 13;

eight  ^7 + five ^7 - thirteen ^7;
 
Last edited:
Outlined said:
F13 is a field like R or C. When it comes to =, +, -, *, brackets, -1 it behaves exactly the same. There is no need to work with 'mod' or what so ever.

Running code below in http://magma.maths.usyd.edu.au/calc/ returns '0'.

Code:
F := FiniteField(13);

eight := F ! 8;
five:= F ! 5;
thirteen := F ! 13;

eight  ^7 + five ^7 - thirteen ^7;

That's a pretty strange response. Are you saying the only way to understand relations in Z_13 is to run magma?
 
Dick said:
That's a pretty strange response. Are you saying the only way to understand relations in Z_13 is to run magma?

no but if you are not in the mood to do manual computations you can use that website.
 

Similar threads

  • · Replies 30 ·
2
Replies
30
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
15
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
6
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
1
Views
1K