Seeing Should not be Believing

Let the remainder when 10 1 113 101^{113} is divided by 113 be A A and the remainder when 100 ! + 100 100! +100 is divided by 101 be B B . Find 17 ( A + B ) 17(A+B) .

3400 15113 3434 8687

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.

3 solutions

10 1 113 10 1 113 mod ϕ ( 113 ) (mod 113) Since gcd ( 101 , 113 ) = 1 Euler’s theorem applies. 10 1 113 mod 112 (mod 113) Euler’s totient function ϕ ( 113 ) = 112 10 1 1 101 (mod 113) \begin{aligned} 101^{113} & \equiv 101^{\color{#3D99F6}113 \text{ mod }\phi (113)} \text{ (mod 113)} & \small \color{#3D99F6} \text{Since }\gcd(101,113) = 1 \text{ Euler's theorem applies.} \\ & \equiv 101^{\color{#3D99F6}113 \text{ mod }112} \text{ (mod 113)} & \small \color{#3D99F6} \text{Euler's totient function }\phi(113) = 112 \\ & \equiv 101^{\color{#3D99F6} 1} \equiv 101 \text{ (mod 113)} \end{aligned}

100 ! + 100 1 + 100 (mod 101) By Wilson’s theorem: ( p 1 ) ! 1 (mod p ) , where p is a prime. 99 (mod 101) \begin{aligned} {\color{#3D99F6}100!} + 100 & \equiv {\color{#3D99F6} - 1} + 100 \text{ (mod 101)} & \small \color{#3D99F6} \text{By Wilson's theorem: }(p-1)! \equiv -1 \text{ (mod }p) \text{, where }p \text{ is a prime.} \\ & \equiv 99 \text{ (mod 101)} \end{aligned}

17 ( A + B ) = 17 ( 101 + 99 ) = 3400 \implies 17(A+B) = 17(101+99) = \boxed{3400}

References:

Just a typo ; the first line should not have a ϕ ( 11 ) \phi(11) , but should have ϕ ( 113 ) \phi(113) .

Shourya Pandey - 3 years, 11 months ago

Log in to reply

Thanks. I have fixed it.

Chew-Seong Cheong - 3 years, 11 months ago
R Dasgupta
Jul 4, 2017

By Fermat's Little Theorem, when a^p is divided by p, the remainder is a. Therefore A=101. Now, by Wilson's Theorem, when (p-1)! is divided by p, the remainder is-1. Hence, when (p-1)! +100 is divided by p, then the remainder would be -1+100=99. Thus B=99. Hence 17(A+B)=17(101+99)=17 200=3400.Note that ! stands for factorial and n!=1 2 3 .........*n.

Edwin Gray
Mar 1, 2019

By Fermat's Little Theorem 101^113 . cong. 101 (mod 113). Since 101 is a prime, by Wilson's Theorem, 100! + 1 .cong. 0 (mod 101), so 100! + 100 .cong. 99 (mod 101). So A + B = 99 +101 = 200, and 17(A + B) = 3400.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...