Find the remainder when is divided by 1009
1009 is a prime number
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.
We have to find the remainder when 1 0 0 9 ( 1 0 1 1 ) ! or 1 0 0 8 ! × 1 0 1 0 × 1 0 1 1 is divided by 1009.
By Wilson's theorem ( P − 1 ) ! + 1 ≡ 0 ( m o d P ) .
So 1 0 0 8 ! + 1 = 0 m o d 1 0 0 9
or 1 0 0 8 ! = − 1 m o d 1 0 0 9
Therefore, the required remainder = − 1 × 1 × 2 = − 2 or 1007