A number theory problem by abhishek alva

Find the last 2 digits of 2 1999 2^{1999} .


The answer is 88.

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

Chew-Seong Cheong
Jun 26, 2016

We need to solve for 2 1999 ( m o d 100 ) 2^{1999} \pmod{100} . Let us consider 2 1999 ( m o d 4 ) 2^{1999} \pmod{4} and 2 1999 ( m o d 25 ) 2^{1999} \pmod{25} separately.

2 1999 2 4 999 0 ( m o d 4 ) \begin{aligned} 2^{1999} & \equiv 2\cdot 4^{999} \equiv 0 \pmod{4} \end{aligned}

2 1999 2 1999 m o d ϕ ( 25 ) ( m o d 25 ) Since gcd ( 2 , 25 ) = 1 , we can use Euler’s theorem. 2 1999 m o d 20 ( m o d 25 ) 2 19 ( m o d 25 ) 1024 512 ( m o d 25 ) ( 1 ) ( 12 ) ( m o d 25 ) 88 ( m o d 25 ) \begin{aligned} 2^{1999} & \equiv 2^{\color{#3D99F6}{1999 \mod \phi(25)}} \pmod{25} \quad \quad \small \color{#3D99F6}{\text{Since }\gcd (2,25)=1 \text{, we can use Euler's theorem.}} \\ & \equiv 2^{\color{#3D99F6}{1999 \mod 20}} \pmod{25} \\ & \equiv 2^{19} \pmod{25} \\ & \equiv 1024 \cdot 512 \pmod{25} \\ & \equiv (-1) \cdot (12) \pmod{25} \\ & \equiv 88 \pmod{25} \end{aligned}

Since 88 { 0 ( m o d 4 ) 88 ( m o d 25 ) 2 1999 88 ( m o d 100 ) 88 \equiv \begin{cases} 0 \pmod{4} \\ 88 \pmod{25} \end{cases} \implies 2^{1999} \equiv \boxed{88} \pmod{100}

You have a typo in your solution. It should be 2 1999 m o d 20 2^{\color{#3D99F6}{1999 \mod 20}} instead of 2 1999 m o d ϕ ( 20 ) 2^{\color{#3D99F6}{1999 \mod \phi(20)}} .

Jesse Nieminen - 4 years, 11 months ago

Log in to reply

Thanks, I have changed it.

Chew-Seong Cheong - 4 years, 11 months ago

hi i want to improve in these types of sums as i am very bad at these. can u suggest some tips or website to improve

abhishek alva - 4 years, 9 months ago

Log in to reply

I learned Number Theory in Brilliant. You can select Number Theory (or other topics) under the Topics menu. There are learning notes (wikis) with examples and problems.

Chew-Seong Cheong - 4 years, 9 months ago

Log in to reply

thanks for your reply

abhishek alva - 4 years, 9 months ago

Can you explain 3rd and 4th step

Kushal Bose - 4 years, 11 months ago

Log in to reply

Euler's theorem: a ϕ ( n ) 1 ( m o d n ) , if a and n are coprime. a^{\phi(n)} \equiv 1 \pmod{n}, \text{ if } a \text{ and } n \text{ are coprime.}

Jesse Nieminen - 4 years, 11 months ago
Mafia maNiAc
Sep 11, 2016

The number given : 2^{1999} This number can also be written as → (2^{10})^{199}^{9}. Point to be noted that 2^{10}^{a} is of the form you find two conditions arises if a is even then then the two units place will be 76 but if its odd then the two units place will be 24. Hence the solution becomes → 24 ×2^{9}=512×24=12288 hence answer is 88.... Q.E.D.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...