To The Power 2000!

What is the remainder when 199 1 2000 1991^{2000} is divided by 1 0 6 10^6 ?


The answer is 880001.

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

Karim Fawaz
Jul 10, 2016

199 1 2000 1991^{2000} Mod 1000000 =

96408 1 1000 964081^{1000} Mod 1000000 =

17456 1 500 174561^{500} Mod 1000000 =

52472 1 250 524721^{250} Mod 1000000 =

8384 1 125 83841^{125} Mod 1000000 =

( 8384 1 1 (83841^{1} Mod 1000000) X ( 8384 1 4 (83841^{4} Mod 1000000) X ( 8384 1 8 (83841^{8} Mod 1000000) X ( 8384 1 16 (83841^{16} Mod 1000000) X ( 8384 1 32 (83841^{32} Mod 1000000) X ( 8384 1 64 (83841^{64} Mod 1000000) Mod 1000000 =

(83841 X 984961 X 171521 X 453441 X 740481 X 111361) Mod 100000 = 880001

Answer = 880001 \boxed{880001}

Moderator note:

Iterative squaring is a good way to deal with these large exponentiations.

nice one..+1

Ayush G Rai - 4 years, 11 months ago

@Karim Fawaz

But how this much calculation is possible without calculator.

Please post it using theorems like CRT, Euler's phi function, Fermat theorem etc.

Priyanshu Mishra - 4 years, 9 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...