Congruence Problem

What is the remainder of 10000! divided by 10001?


The answer is 0.

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.

1 solution

Note that 73 137 = 10001 73*137=10001

10000 ! = 10000 9999 . . . 137 . . . 73 . . . 1 10000!=10000*9999*...*137*...*73*...1

so when 10000 ! 10000! is divided by 10001 10001 we get :

10000 9999 . . . 139 138 136 135 . . . 75 74 72 71 . . . 1 10000*9999*...*139*138*136*135*...*75*74*72*71*...*1

and the reminder is 0 0 .

Notice that you cannot use Wilson's theorem with 10001, since it is not prime (unlike 101)!

Toby M - 2 years, 5 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...