Wilson picks a number which is the predecessor of a prime. He computes as the product of all natural numbers less than or equal to and as the sum of all natural numbers less than or equal to .
What is congruent to when divided by ?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
For k = 1 , 1 ! ≡ 1 m o d 1
For k = 1 :
From Wilson's theorem ,
k ! ≡ − 1 m o d k + 1
k ! ≡ k m o d k + 1
As k ∣ k ! and k is even,
k ! ≡ 0 m o d k / 2
k ! ≡ k m o d k / 2
Combining the moduli,
k ! ≡ k m o d ( k + 1 ) k / 2
∴ a ≡ k m o d b