Calculate the remainder

Find the remainder of 7 123 + 9 123 64 \dfrac{7^{123} +9^ {123}} {64} .


The answer is 48.

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

The problem is similar to finding ( 7 123 + 9 123 ) m o d 64 \left(7^{123} + 9^{123}\right) \bmod 64 .

7 123 + 9 123 ( ( 8 1 ) 123 + ( 8 + 1 ) 123 ) (mod 64) 2 ( 8 123 + 123 122 2 8 121 + + 123 122 121 1 2 3 8 3 + 123 8 ) (mod 64) 2 123 8 (mod 64) 2 ( 5 ) ( 8 ) (mod 64) 80 (mod 64) 16 (mod 64) 48 (mod 64) \begin{aligned} 7^{123} + 9^{123} & \equiv \left((8-1)^{123} + (8+1)^{123}\right) \text{ (mod 64)} \\ & \equiv 2 \left(8^{123} + \frac {123\cdot 122}2 \cdot 8^{121} + \cdots + \frac {123\cdot 122 \cdot 121}{1\cdot 2\cdot 3}\cdot 8^3+ 123\cdot 8 \right) \text{ (mod 64)} \\ & \equiv 2 \cdot 123\cdot 8 \text{ (mod 64)} \\ & \equiv 2(-5)(8) \text{ (mod 64)} \\ & \equiv -80 \text{ (mod 64)} \\ & \equiv -16 \text{ (mod 64)} \\ & \equiv \boxed{48} \text{ (mod 64)} \end{aligned}

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...