Solving stuff!

Find the last three digits of 7 9729 7^{9729} .

605. 607. 608. 609. 606.

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

Chew-Seong Cheong
Oct 19, 2018

Relevant wiki: Euler's Theorem

Let the given number be N N . We need to find N m o d 1000 N \bmod 1000 .

N 7 9729 m o d λ ( 1000 ) (mod 1000) Since gcd ( 7 , 1000 ) = 1 , Euler’s theorem applies. 7 9729 m o d 100 (mod 1000) Carmichael lambda function λ ( 1000 ) = 100 7 29 (mod 1000) 7 4 9 14 (mod 1000) 7 ( 50 1 ) 14 (mod 1000) 7 ( + 14 × 13 2 5 0 2 14 50 + 1 ) (mod 1000) 7 ( + 500 700 + 1 ) (mod 1000) 7 ( 199 ) (mod 1000) 393 (mod 1000) 607 (mod 1000) \begin{aligned} N & \equiv 7^{9729 \color{#3D99F6} \bmod \lambda (1000)} \text{ (mod 1000)} & \small \color{#3D99F6} \text{Since }\gcd(7,1000) = 1 \text{, Euler's theorem applies.} \\ & \equiv 7^{9729 \color{#3D99F6} \bmod 100} \text{ (mod 1000)} & \small \color{#3D99F6} \text{Carmichael lambda function }\lambda(1000) = 100 \\ & \equiv 7^{29} \text{ (mod 1000)} \\ & \equiv 7\cdot 49^{14} \text{ (mod 1000)} \\ & \equiv 7(50-1)^{14} \text{ (mod 1000)} \\ & \equiv 7 \left(\cdots + \frac {14\times 13}2 \cdot 50^2 - 14\cdot 50 + 1\right) \text{ (mod 1000)} \\ & \equiv 7 \left(\cdots + 500 - 700 + 1\right) \text{ (mod 1000)} \\ & \equiv 7 \left(-199 \right) \text{ (mod 1000)} \\ & \equiv -393 \text{ (mod 1000)} \\ & \equiv \boxed{607} \text{ (mod 1000)} \end{aligned}

Blan Morrison
Oct 18, 2018

Since all of the answers start with "60," let's focus on the last digit.

The last digit cannot be even, since odd × odd even \text{odd}\times \text{odd}\not= \text{even} .

Also, the last digit cannot be 5 because ( non-multiple of 5 ) × ( non-multiple of 5 ) multiple of 5 (\text{non-multiple of 5})\times (\text{non-multiple of 5})\not=\text{multiple of 5} .

Therefore, the last digit of 7 n 7^n follows a 4-step repeating cycle: 7, 9, 3, 1. Since 9 will always come on an even n n , and 9,729 isn't even, that means the answer is 607. β ~\beta_{\lceil \mid \rceil}


This kind of strategy is called "Process of elimination." This is very useful for those agonizing standardized tests.

Parth Sankhe
Oct 19, 2018

The cyclicity for 7 is 4, i.e. every multiple of 4th power of 7 will have the same unit digit as 7 4 7^4 , 1.

Thus, 7 9728 7^{9728} will have it as 1, and 7 9729 7^{9729} will have it as 7.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...