Wilson's Theorem: Solve 16!x congruent to 5 (mod 17)

  • Thread starter Thread starter ribbon
  • Start date Start date
  • Tags Tags
    Theorem
Click For Summary
The discussion focuses on solving the modular equation 16!x ≡ 5 (mod 17) using Wilson's Theorem, which states that (p-1)! + 1 ≡ 0 (mod p) for a prime p. It is established that 16! ≡ -1 (mod 17), leading to the conclusion that multiplying both sides by -5 gives x = -5. Multiple solutions for x are identified, including x = 12 and x = -22, all differing by multiples of 17. The final clarification emphasizes expressing the solution as x ≡ -5 (mod 17) to accurately represent the infinite solutions.
ribbon
Messages
38
Reaction score
0

Homework Statement


16!x is congruent to 5 (mod 17). Find x.


Homework Equations





The Attempt at a Solution


I am not sure if I have the answer correct, but I would like to know if I am following rules of modular arithmetic correctly.

According to Wilson's Theorem, (p-1)! + 1 is congruent to 0 mod(p) where p is prime.

So can I say for this problem since (17-1)! + 1 is congruent to 0 (modp) -> move the one to the other side of congruence to get 16! congruent to -1 (mod p) and multiply both sides of the congruence by -5, requiring x = -5?
 
Physics news on Phys.org
ribbon said:

Homework Statement


16!x is congruent to 5 (mod 17). Find x.


Homework Equations





The Attempt at a Solution


I am not sure if I have the answer correct, but I would like to know if I am following rules of modular arithmetic correctly.

According to Wilson's Theorem, (p-1)! + 1 is congruent to 0 mod(p) where p is prime.

So can I say for this problem since (17-1)! + 1 is congruent to 0 (modp) -> move the one to the other side of congruence to get 16! congruent to -1 (mod p) and multiply both sides of the congruence by -5, requiring x = -5?

Sure x=(-5) works. So does x=12. So does x=(-22). There are a lot of solutions. What do they all have in common?
 
Hmm, well I can see that they are all 17 apart (17 like the modulus), is there a more mathematical way to express or suggest that?
 
ribbon said:
Hmm, well I can see that they are all 17 apart (17 like the modulus), is there a more mathematical way to express or suggest that?

How about saying x=(-5) mod 17? Just saying x=(-5) isn't really telling the whole story. That's all.
 
  • Like
Likes 1 person
Oh I see... thanks very much. That indeed demonstrates there to be more than one possible solution for x.
 
Question: A clock's minute hand has length 4 and its hour hand has length 3. What is the distance between the tips at the moment when it is increasing most rapidly?(Putnam Exam Question) Answer: Making assumption that both the hands moves at constant angular velocities, the answer is ## \sqrt{7} .## But don't you think this assumption is somewhat doubtful and wrong?

Similar threads

  • · Replies 1 ·
Replies
1
Views
5K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
10
Views
3K
  • · Replies 16 ·
Replies
16
Views
2K
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
6K
Replies
17
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K