Re : Last two digits

Find the last two digits of 3 400 3^{400} .

81 01 29 61

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.

4 solutions

Mark Hennings
Dec 12, 2019

Since 3 1 ( m o d 4 ) 3 \equiv -1 \pmod{4} , it follows that 3 2 1 ( m o d 4 ) 3^2 \equiv 1 \pmod{4} and hence that 3 400 1 ( m o d 4 ) 3^{400} \equiv 1 \pmod{4} . Also 3 4 1 ( m o d 5 ) 3^4 \equiv 1 \pmod{5} , and hence 3 20 1 ( m o d 25 ) 3^{20} \equiv 1 \pmod{25} , so that 3 400 1 ( m o d 25 ) 3^{400} \equiv 1 \pmod{25} . Putting these congruences together we deduce that 3 400 1 ( m o d 100 ) 3^{400} \equiv 1 \pmod{100} , making the answer 01 \boxed{01} .

Please explain your method, I did by taking 3 = 10 - 7 , then by binomial expansion we can say last two terms of expansion will give us the answer... Howw did you consider 01 at the end ? because, remainder when dividing by n digit number can be n digits at most, but here only two digit could be the remainder as we are dividing by 100 or so ?

Nikola Alfredi - 1 year, 3 months ago

Log in to reply

I showed that 3 400 1 ( m o d 4 ) 3^{400} \equiv 1 \pmod{4} , so that 4 4 divides 3 400 1 3^{400}-1 . I then showed that 3 4 1 ( m o d 5 ) 3^4 \equiv 1 \pmod{5} , so that 3 4 = 5 m + 1 3^4 = 5m + 1 ,and hence 3 20 = ( 5 m + 1 ) 5 1 ( m o d 25 ) 3^{20} = (5m+1)^5 \equiv 1 \pmod{25} . Thus 3 400 1 ( m o d 25 ) 3^{400} \equiv 1 \pmod{25} , and so 25 25 divides 3 400 1 3^{400} - 1 . Since both 4 4 and 25 25 divide 3 400 1 3^{400}-1 , it follows that 100 100 divides 3 400 1 3^{400} - 1 , so that 3 400 = 100 k + 1 3^{400} = 100k + 1 for some integer k k , so that the last two digits of 3 400 3^{400} are 01 01 .

Mark Hennings - 1 year, 3 months ago

Log in to reply

Ok, I got it. Thanks

Nikola Alfredi - 1 year, 3 months ago
Chew-Seong Cheong
Dec 12, 2019

By Binomial Expansion

3 400 9 200 (mod 100) ( 10 1 ) 200 (mod 100) ( 1 0 200 200 1 0 199 + 200 10 + 1 ) (mod 100) 1 (mod 100) \begin{aligned} 3^{400} & \equiv 9^{200} \text{ (mod 100)} \\ & \equiv (10-1)^{200} \text{ (mod 100)} \\ & \equiv (10^{200}-200\cdot 10^{199}+\cdots - 200\cdot 10 + 1) \text{ (mod 100)} \\ & \equiv 1 \text{ (mod 100)} \end{aligned}

Therefore, the last two digits of 3 400 3^{400} is 01 \boxed{01} .


By Euler's Theorem

We need to find 3 400 m o d 100 3^{400} \bmod 100 . Since 3 and 100 are coprime integers, that is gcd ( 3 , 100 ) = 1 \gcd(3,100)=1 , we can apply Euler's theorem as follows. Note that the Euler's totient function ϕ ( 100 ) = 100 × 1 2 × 4 5 = 40 \phi(100) = 100 \times \frac 12 \times \frac 45 = 40 .

3 400 3 400 m o d ϕ ( 100 ) (mod 100) 3 400 m o d 40 (mod 100) 3 0 (mod 100) 1 (mod 100) \begin{aligned} 3^{400} & \equiv 3^{400 \bmod \phi(100)} \text{ (mod 100)} \\ & \equiv 3^{400 \bmod 40} \text{ (mod 100)} \\ & \equiv 3^0 \text{ (mod 100)} \\ & \equiv 1 \text{ (mod 100)} \end{aligned}

Therefore, the last two digits of 3 400 3^{400} is 01 \boxed{01} .

Alexander Shannon
Dec 12, 2019

Use Euler's theorem

400 0 m o d ϕ ( 100 ) = 40 3 400 3 0 1 m o d 100 400 \equiv 0 \ mod \ \phi(100)=40 \implies 3^{400} \equiv 3^0 \equiv 1 \ mod \ 100

Srinivasa Gopal
Dec 11, 2019

3^400 = (3^4)^100 = ( 1 + 80) ^ 100

Expanding (1 + 80) ^ 100 using the binomial theorm

The first few terms are 1 + 100 * 80 + 4450 * 6400 + 161700*512000 + ....

= 8001 + 4450 6400 + 161700 512000 + ....

The last few digits of the third and the fourth terms are 000, 00000. So if the first two terms are added to the other terms, the last two digits will remain

the same as one where the first and the second terms are added ( 01). So the last two digits of 3^400 are 01 , answer choice A.

Youtube Tutorial :

Last two digits of 3^400

Verified using Excel :

The last two digits of 3^x cycles with a period of 20 powers. So the last two digits of 3^400 = last two digits of 3^20 which is equal to 01.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...