5s over, now 9s!

9 9 9 \large \color{#3D99F6}9^{\color{#20A900}9^{\color{#D61F06}9}}

What are the last two digits of the number above?


The answer is 89.

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

Lavisha Parab
Apr 7, 2015

We can use binomial theorem too.

9 9 9 = ( 10 1 ) 9 9 { 9 }^{ { 9 }^{ 9 } }\quad =\quad { (10-1) }^{ { 9 }^{ 9 } } ( 10 1 ) 9 9 = ( 1 + 9 9 × 10 + 9 9 × ( 9 9 1 ) 2 × 100 + . . . ) { (10-1) }^{ { 9 }^{ 9 } }\quad =\quad { (-1+{ 9 }^{ 9 }\times 10+\frac { { 9 }^{ 9 }\times { (9 }^{ 9 }-1) }{ 2 } \times 100+...) }

considering only the ten's and unit digit,

( 1 + 9 9 × 10 + . . . ) { (-1+{ 9 }^{ 9 }\times 10+...) }

= ( 1 + ( 10 1 ) 9 × 10 + . . . ) ={ (-1+({ 10-1) }^{ 9 }\times 10+...) }

= ( 1 + ( 1 + 9 × 10 ) × 10 + . . . ) ={ (-1+({ -1+9\times 10) }\times 10+...) }

= ( 1 10 + 900 + . . . ) ={ (-1-10+900+...) }

= 89 + 800 + . . . =89+800+...

Thus answer is 89 \boxed{ 89 }

Moderator note:

Well done!

Kevin Klida
Apr 6, 2015

The last two digits of the powers of 9 are cyclical with an order of 10. This can easily be shown with a little number crunching (if there is a more elegant way to show this that I am unaware of please share!).

They are (in order and starting with a power of 0): {01, 09, 81, 29, 61, 49, 41, 69, 21, 89}

After this they start to repeat.

Therefore, if k is a specific power of 9, then k mod 10 will tell us the last two digits of 9 k 9^{k} .

Let 9 9 = k 9^{9} = k

The last 2 digits of k k are "89" since 9 mod 10 is 9, so k k mod 10 is also 9. We know this because the last digit of a number tells us what it's value mod 10 is.

This means 9 k 9^{k} has "89" as it's last two digits as well, so the answer is 89.

In general, the value of a b a^b mod c repeats every ϕ ( c ) \phi(c) powers.

Samuel Li - 6 years, 2 months ago

Log in to reply

But that's not in lowest terms. Most have a periodicity of n n such that n ϕ ( c ) n|\phi(c)

Trevor Arashiro - 6 years, 2 months ago

after we get the order ..or cycle .........we now have 9^(9^9).......the power equal 81...mod 10 gives 1...thus 9 should be the answer !!!!...................well please tell me what's​ wrong with this logic!!!

Shehanaaz Sk - 6 years, 2 months ago

Log in to reply

You are computing (9^9)^9, but that is a very different number than 9^(9^9), which is what the problem specified was to be calculated (implied parentheses from precedence rules).

David Moore - 6 years, 2 months ago

I am also confused with that fact, according to exponents rules (a^b)^c=a^(bc), which in this case is 81, so the answer should be 09, but it isn't so there must be something wrong with this kind of thinking

Javier Naya Hernández - 6 years, 2 months ago

Log in to reply

This is because 9 9 9 ( 9 9 ) 9 9^{9^{9}} \neq (9^{9})^{9}

Kevin Klida - 6 years, 2 months ago

Log in to reply

@Kevin Klida Thanks, for clarifying :)

Javier Naya Hernández - 6 years, 2 months ago

9 9 9 9 81 9^{9^{9}} \neq 9^{81}

9 9 = 387420489 9^{9} = 387420489 , therefore 9 9 9 = 9 387420489 9^{9^{9}} = 9^{387420489}

Kevin Klida - 6 years, 2 months ago
Prasun Biswas
Apr 7, 2015

We use Euler's theorem to solve this problem. The answer we need is simply the residue of the given number modulo 100 100 .

Denote by ϕ ( n ) \phi(n) the Euler's totient function. Now,

ϕ ( 100 ) = ϕ ( 2 2 × 5 2 ) = 100 ( 1 1 2 ) ( 1 1 5 ) = 40 \phi(100)=\phi(2^2\times 5^2)=100\left(1-\frac{1}{2}\right)\left(1-\frac{1}{5}\right)=40

Now, we have gcd ( 9 , 100 ) = 1 \gcd(9,100)=1 , so we're free to use Euler's Theorem to get,

9 9 9 9 9 9 m o d 40 9 ( ( 81 ) 4 9 ) m o d 40 9 9 2 9 3 ( m o d 100 ) 9^{9^9}\equiv 9^{9^9\bmod~40}\equiv 9^{\left((81)^4\cdot 9\right)\bmod~40}\equiv 9^9\equiv 29^3\pmod{100}

Now, one can use one of two ways:

a) Simply calculate that value since it's fairly easy to compute 2 9 3 29^3 and find the residue modulo 100 100 . (boring)

b) Easily compute the residues modulo 4 4 and 25 25 and then combine the results using Chinese Remainder Theorem. (interesting)

Either way, we'll get 2 9 3 m o d 100 = 89 29^3\bmod 100=89 and hence it follows that,

9 9 9 89 ( m o d 100 ) \large 9^{9^9}\equiv 89\pmod{100}

Wow , you solved that sum good :3 :D :P

Arnab Mondal - 6 years, 2 months ago

Log in to reply

Thanks! :3

Prasun Biswas - 6 years, 2 months ago

Log in to reply

Wecome bro :3

Arnab Mondal - 6 years, 1 month ago
Henry Wan
Oct 22, 2015

B y E u l e r s T h e o r e m , 9 φ ( x ) 1 ( m o d 100 ) w h e r e φ ( x ) = 40 C o n s i d e r 9 9 81 × 81 × 81 × 81 × 9 9 ( m o d 40 ) T h e r e f o r e , u s i n g E u l e r s T h e o r e m , 9 9 9 9 9 ( m o d 100 ) 729 3 ( m o d 100 ) 29 3 ( m o d 100 ) 24389 ( m o d 100 ) 89 ( m o d 100 ) By\quad Euler's\quad Theorem,\quad { 9 }^{ \varphi (x) }\equiv 1\quad (mod\quad 100)\quad where\quad \varphi (x)=40\\ Consider\quad { 9 }^{ 9 }\equiv 81\times 81\times 81\times 81\times 9\equiv 9\quad (mod\quad 40)\\ Therefore,\quad using\quad Euler's\quad Theorem,\\ { 9 }^{ { 9 }^{ 9 } }\equiv { 9 }^{ 9 }\quad (mod\quad 100)\quad \\ \quad \quad \equiv { 729 }^{ 3 }\quad (mod\quad 100)\\ \quad \quad \equiv { 29 }^{ 3 }\quad (mod\quad 100)\\ \quad \quad \equiv 24389\quad (mod\quad 100)\\ \quad \quad \equiv 89\quad (mod\quad 100)

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...