Tot(ient)ally Cool!

Find the last 4 digits of the binary representation of 10 9 2017 109^{2017} .


The answer is 1101.

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.

2 solutions

The problem is equivalent to finding 10 9 2017 mod 2 4 109^{2017} \text{ mod }2^4 .

10 9 2017 10 9 2017 mod ϕ ( 16 ) (mod 16) Since gcd ( 109 , 16 ) = 1 , Euler’s theorem applies. 10 9 2017 mod 8 (mod 16) Euler’s totient function ϕ ( 16 ) = 8 10 9 1 (mod 16) 1 3 10 (mod 16_10) 1101 2 (mod 1000 0 2 ) \begin{aligned} 109^{2017} & \equiv 109^{\color{#3D99F6}2017 \text{ mod }\phi(16)} \text{ (mod 16)} & \small \color{#3D99F6} \text{Since }\gcd(109, 16)=1 \text{, Euler's theorem applies.} \\ & \equiv 109^{\color{#3D99F6}2017 \text{ mod }8} \text{ (mod 16)} & \small \color{#3D99F6} \text{Euler's totient function } \phi (16) = 8 \\ & \equiv 109^{\color{#3D99F6}1} \text{ (mod 16)} \\ & \equiv 13_{10} \text{ (mod 16\_{10})} \\ & \equiv \boxed{1101}_2 \text{ (mod }10000_2) \end{aligned}

Cameron CHang
Apr 1, 2017

To solve we can take this in modulo 16 because the last 4 digits in binary only go up to 8. This give us 1 3 2017 13^{2017} . By Euler's Totient Formula, this is equivalent to 13. This in binary is 1101

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...