Adding and subtracting different bases with common exponents in ring Z

Click For Summary

Homework Help Overview

The problem involves calculating the expression (5^7)-(7^7)+(9^7)-(11^7) in Mod24, focusing on operations with different bases and common exponents within the context of modular arithmetic.

Discussion Character

  • Exploratory, Assumption checking, Mathematical reasoning

Approaches and Questions Raised

  • Participants discuss the validity of adding bases directly and question the equivalence of negative and positive results in modular arithmetic. There are attempts to break down the powers step by step, with some participants verifying calculations for individual terms.

Discussion Status

The discussion is ongoing, with participants providing guidance on how to approach the calculations and questioning the original poster's methods. There is a recognition of potential errors in sign and equivalence class handling, but no consensus has been reached on the final answer.

Contextual Notes

Participants note that the original problem may involve assumptions about how to handle modular arithmetic, particularly regarding the addition of bases and the treatment of negative results.

morrowcosom
Messages
52
Reaction score
0

Homework Statement


Calculate (5^7)-(7^7)+(9^7)-(11^7) in Mod24


Homework Equations





The Attempt at a Solution


I added all the bases and got -4 (which I changed to 4), then I took 4^7 and ended up with 16,384. I divided 16,384 by 24 as many times as I could, which gave me an end result of 40, and being that that mod is 24 my final answer is 16.

I am doing independent study on a computer program and it says 20, what did I do wrong? Maybe it had something to do with how I added the bases?

Thanks
 
Physics news on Phys.org
morrowcosom said:

Homework Statement


Calculate (5^7)-(7^7)+(9^7)-(11^7) in Mod24


Homework Equations





The Attempt at a Solution


I added all the bases and got -4 (which I changed to 4), then I took 4^7 and ended up with 16,384. I divided 16,384 by 24 as many times as I could, which gave me an end result of 40, and being that that mod is 24 my final answer is 16.

I am doing independent study on a computer program and it says 20, what did I do wrong? Maybe it had something to do with how I added the bases?
I don't think you want to add the bases. I can't think of any good reason for doing that.

Also, -4 and + 4 aren't in the same equivalence class, so you can't just change one to another. -4 is in the same equivalence class as 20, in modulo 24.

Let's take these powers in small steps, starting with 57.
5 [itex]\equiv[/itex] 5 (mod 24)
52 = 25 [itex]\equiv[/itex] 1 (mod 24)

So 57 = 5 * 56 = 5 * (52)3 [itex]\equiv[/itex] 5 * 13 (mod 24) = 5 (mod 24).

If you divide 57 by 24, you get a remainder of 5 (which I verified).

Do the same sort of calculations for 77, 97, and 117, and see what you get.
 
Last edited:
morrowcosom said:
...what did I do wrong?

You can't add bases like that, for instance, [itex]3^2 + 7^2 = 9 + 49 = 58[/tex]<br /> (NOT [itex]3^2 + 7^2 = (3 + 7)^2 = 10^2 = 100[/tex])[/itex][/itex]
 
Let's take these powers in small steps, starting with 57.
5 5 (mod 24)
52 = 25 1 (mod 24)

So 57 = 5 * 56 = 5 * (52)3 5 * 13 (mod 24) = 5 (mod 24).

If you divide 57 by 24, you get a remainder of 5 (which I verified).

Do the same sort of calculations for 77, 97, and 117, and see what you get.

Original problem: Calculate (5^7)-(7^7)+(9^7)-(11^7) in Mod24

I started out with 5 that you figured out and worked the other numbers the same way:

-7^7= -7*7^6= -7(-7^2)^3= -7*1^3= -7 (mod 24)

9^7= 9*9^6= 9(9^2)^3= 9*9^3= 81= 9 (mod 24)

11^7= 11*11^6= 11(11^2)^3= 11*1^3= 11 (mod 24)

So, I ended up with 5-7+9+11=18, which is still the wrong answer according to the program.
Where did I mess up?
 
You have a sign error: you should have 5 - 7 + 9 - 11
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
13
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 5 ·
Replies
5
Views
4K