Wilson Theorem: Solving (p-n+1) . (p-2)! + n–1 =0 (mod p)

  • Thread starter Thread starter papacy
  • Start date Start date
Click For Summary
SUMMARY

The discussion centers on proving the equation (p-n+1) . (p-2)! + n–1 = 0 (mod p) using Wilson's Theorem. Participants confirm that (p-2)! simplifies to 1 when p is prime, leading to the conclusion that the equation holds true under the specified conditions. The proof involves manipulating the equation to show that both terms equal zero modulo p. Additionally, one participant mentions solving the problem using induction.

PREREQUISITES
  • Understanding of Wilson's Theorem
  • Knowledge of modular arithmetic
  • Familiarity with factorial notation
  • Basic principles of mathematical induction
NEXT STEPS
  • Study Wilson's Theorem in depth
  • Explore advanced topics in modular arithmetic
  • Learn about mathematical induction techniques
  • Investigate applications of factorials in number theory
USEFUL FOR

Mathematicians, students studying number theory, and anyone interested in modular arithmetic and proofs involving Wilson's Theorem.

papacy
Messages
5
Reaction score
0
if p is prime and n is natural number, show that (p-n+1) . (p-2)! + n–1 =0 (mod p)

i think i have to show that (p-n+1) . (p-2)! = 0 (mod p) and n – 1 =0 (mod p)
using Wilson theorem
(p-1)!=-1(p)
 
Last edited:
Physics news on Phys.org
papacy said:
if p is prime and n is natural number, show that (p-n+1) . (p-2)! + n–1 =0 (mod p)

i think i have to show that (p-n+1) . (p-2)! = 0 (mod p) and n – 1 =0 (mod p)
using Wilson theorem
(p-1)!=-1(p)



Well, of course [itex]\,n-1\neq 0\pmod p\,[/itex] almost always. Working modulo p in the following:

$$(p-2)!=\frac{(p-1)!}{p-1}=\frac{-1}{-1}=1\Longrightarrow (p-n+1)(p-2)!+n-1=(-n+1)\cdot 1+n-1=-n+1+n-1=0$$

DonAntonio
 
DonAntonio said:
Well, of course [itex]\,n-1\neq 0\pmod p\,[/itex] almost always. Working modulo p in the following:

$$(p-2)!=\frac{(p-1)!}{p-1}=\frac{-1}{-1}=1\Longrightarrow (p-n+1)(p-2)!+n-1=(-n+1)\cdot 1+n-1=-n+1+n-1=0$$

DonAntonio

thanks a lot.
very clever.
also i solve it inductances
 

Similar threads

Replies
17
Views
3K
Replies
16
Views
3K
  • · Replies 19 ·
Replies
19
Views
4K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
8
Views
4K
Replies
9
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
Replies
12
Views
4K
Replies
27
Views
4K
  • · Replies 10 ·
Replies
10
Views
4K