Use something to find the remainder

What's the remainder if 12 3 45 123^{45} is divided by 301 301 ?


The answer is 85.

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

S P
May 14, 2018

By Prime factorizing 301 301 we get 301 = 7 × 43 301=7\times 43

Therefore, we can apply Chinese remainder theorem since, gcd ( 7 , 43 ) = 1 \gcd(7,43)=1 and Fermat's little theorem since, 7 7 and 43 43 are PRIME numbers.

So, by these theorems we get:

12 3 42 1 ( m o d 43 ) 123^{42}\equiv 1\pmod{43} and 12 3 6 1 ( m o d 7 ) 123^{6}\equiv 1\pmod{7}

Now, 12 3 6 1 ( m o d 7 ) 123^{6}\equiv 1\pmod{7}

( 12 3 6 ) 7 = 12 3 42 1 7 1 ( m o d 7 ) \implies (123^6)^7=123^{42}\equiv 1^7\equiv 1\pmod {7}

Let 12 3 42 = x 123^{42} =x then x 1 ( m o d 43 ) x\equiv 1\pmod{43} and x 1 ( m o d 7 ) x\equiv 1\pmod {7}

x = 43 m + 1 = 7 n + 1 \therefore x=43m+1=7n+1

Thus, by “Chinese remainder theorem” we have 7 n + 1 1 ( m o d 43 ) 7n+1\equiv 1\pmod {43}

n 0 ( m o d 43 ) \implies n\equiv 0\pmod {43}

n = 43 k \therefore n=43k [where k k is any integer]

Thus, we get x = 7 ( 43 k ) + 1 = 301 k + 1 x=7(43k)+1=301k+1

12 3 42 1 ( m o d 301 ) \therefore 123^{42}\equiv 1\pmod {301}

By multiplying both sides by 12 3 3 123^3 we get:

12 3 42 × 12 3 3 = 12 3 45 12 3 3 ( m o d 301 ) 123^{42}\times 123^3 = 123^{45}\equiv 123^3\pmod {301}

12 3 45 1860867 85 ( m o d 301 ) \implies 123^{45}\equiv 1860867\equiv 85\pmod {301}

Hence, 12 3 45 85 ( m o d 301 ) 123^{45}\equiv \boxed{85}\pmod{301}

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...