Finding the mod of large numbers

Click For Summary

Homework Help Overview

The problem involves evaluating the expression (16^1000 - 18^2000) modulo 17. Participants are exploring the properties of large numbers and modular arithmetic.

Discussion Character

  • Exploratory, Assumption checking, Mathematical reasoning

Approaches and Questions Raised

  • Some participants discuss the modular equivalences of 16 and 18 with respect to 17, questioning how to simplify the expression using these values. Others consider the implications of Fermat's little theorem and the behavior of powers under modular conditions.

Discussion Status

The discussion is active with participants sharing their thoughts on how to approach the problem. There is a mix of interpretations regarding the calculations and the use of modular properties, but no consensus has been reached yet.

Contextual Notes

Participants note constraints such as the prohibition of calculators during the exam, which influences their approach to calculating large powers.

valianth1
Messages
5
Reaction score
0

Homework Statement



Evaluate (16^1000 - 18^2000)(mod 17)


Homework Equations



I'm not sure how to go about doing this, but I realize it has something to do with the pattern from the last digit obtained from the 2 large numbers


The Attempt at a Solution

 
Physics news on Phys.org
valianth1 said:

Homework Statement



Evaluate (16^1000 - 18^2000)(mod 17)


Homework Equations



I'm not sure how to go about doing this, but I realize it has something to do with the pattern from the last digit obtained from the 2 large numbers


The Attempt at a Solution


That's really not a great realization. I would think about what 16 and 18 are mod 17.
 
16(mod 17) = -1 and 18(mod 17) = 1, how do I go from here?
 
valianth1 said:
16(mod 17) = -1 and 18(mod 17) = 1, how do I go from here?

What's (-1)^1000-1^2000? (x mod 17)^n mod 17=(x^n) mod 17. Right?
 
Last edited:
Turns out 16(mod17) is 16, so how would I go about calculating 16^1000 seeing that the exam does not permit calculators? So would the solution be 16^1000 - 1^2000? So is the solution 15? Because using the calculator returns 0 which I don't think is right
 
How did you get 16(mod17) to be 16?

Consider that (-1)1000 = 1.Btw, since 17 is prime you can also apply Fermat's little theorem:
For any prime p: ap (mod p) = a

Rewrite 161000 as 1617k+r=(1617)k16r.
 
valianth1 said:
Turns out 16(mod17) is 16, so how would I go about calculating 16^1000 seeing that the exam does not permit calculators? So would the solution be 16^1000 - 1^2000? So is the solution 15? Because using the calculator returns 0 which I don't think is right

16 and (-1) are congruent mod 17 since they differ by 17. So (-1)^1000=16^1000 mod 17. You can use either form in your calculation. Which one makes it easy?
 

Similar threads

  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 32 ·
2
Replies
32
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 28 ·
Replies
28
Views
6K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
5
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 21 ·
Replies
21
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K