Prove that \((p-3)! \equiv \dfrac{p-1}{2} mod p\) Please, help
p is prime, p >2
By Wilson, we have (p-1)! =-1 (mod p) hence (p-1)(p-2) (p-3)! = -1 (mod p) and p-1 =1 mod p p-2 = 2 mod p hence 2(p-3)! =-1 mod p then I am stuck.
it should be p-1 = -1 (mod p) p-2 = -2 (mod p)
yes,
Fortunately, the result is the same and I stuck still!! :)
(p-3)! = (p-1)/2 (mod p) is equivalent to 2(p-3)! = p-1 (mod p)
What if I * (-1) both sides and get -2 (p-3)! = 1 mod p that is (p-3)! is inverse of 2 mod p? then?
then you can use wilson's theorem to get (p-1)! =-1 (mod p) (p-1)(p-2) (p-3)! = -1 (mod p) (-1)(-2)(p-3)! = -1 (mod p) 2(p-3)! = -1 (mod p)
@jim_thompson5910 Yes, that was what I did above.
but how to go further?
well I think that's enough to show that they are equivalent `(p-3)! = (p-1)/2 (mod p)` is equivalent to `2(p-3)! = p-1 (mod p)` `(p-1)! =-1 (mod p)` turns into `2(p-3)! = -1 (mod p)` by the transitive property of equivalence, we know `(p-3)! = (p-1)/2 (mod p)` is equivalent to `(p-1)! =-1 (mod p)` so because `p-1)! =-1 (mod p)` is true, this makes `(p-3)! = (p-1)/2 (mod p)` true too
aah it drove me crazy :)
first: we don't have (p-3)! = (p-1)/2 mod p How ?
I don't understand what you're asking
below the line : "well I think it's enough....." you stated : (p-3)! = (p-1)/2 mod p. My question is there, how?
that's what you're given
That is the statement we need to prove, not given information.
I'm saying that the thing you need to prove connects to `(p-1)! =-1 (mod p)` (in the work shown above)
You meant we go back ward? A = B B leads to C and if C true then B true then A = B hold, right?
what we need to prove: `(p-3)! = (p-1)/2 (mod p)` that's equivalent to saying "we need to prove `2(p-3)! = (p-1) (mod p)` is true" ----------------------------------------------- from above `(p-1)! =-1 (mod p)` turns into `2(p-3)! = -1 (mod p)` since `(p-1)! =-1 (mod p)` is true, this means `2(p-3)! = -1 (mod p)` is true so `2(p-3)! = -1 (mod p)` has been proven true leading to `(p-3)! = (p-1)/2 (mod p)` being proven true
|dw:1446690142967:dw|
|dw:1446690425288:dw|
Join our real-time social learning platform and learn together with your friends!