- #1
morrowcosom
- 54
- 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