Find the remainder when (67!) divided by 71.
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.
By Wilson’s theorem
70! ≡ −1 mod 71
We know that 71 is a prime number.
Since 70! = 70×69×68×67! , we have
70×69×68×67! ≡ −1 mod 71
or
(−1)×(−2)×(−3)×67! ≡−1 mod 71
or
6×67! ≡ 1 mod 71.
Multiplying both sides by 12
72×67! ≡ 12 mod 71
This means that
1×67! ≡ 12 mod 71.
or
67! ≡ 12 mod 71.
The answer is 12.