9 9 9
What are the last two digits of the number above?
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.
Well done!
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 .
Let 9 9 = k
The last 2 digits of k are "89" since 9 mod 10 is 9, so 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 has "89" as it's last two digits as well, so the answer is 89.
In general, the value of a b mod c repeats every ϕ ( c ) powers.
Log in to reply
But that's not in lowest terms. Most have a periodicity of n such that n ∣ ϕ ( c )
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!!!
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).
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
Log in to reply
This is because 9 9 9 = ( 9 9 ) 9
Log in to reply
@Kevin Klida – Thanks, for clarifying :)
9 9 9 = 9 8 1
9 9 = 3 8 7 4 2 0 4 8 9 , therefore 9 9 9 = 9 3 8 7 4 2 0 4 8 9
We use Euler's theorem to solve this problem. The answer we need is simply the residue of the given number modulo 1 0 0 .
Denote by ϕ ( n ) the Euler's totient function. Now,
ϕ ( 1 0 0 ) = ϕ ( 2 2 × 5 2 ) = 1 0 0 ( 1 − 2 1 ) ( 1 − 5 1 ) = 4 0
Now, we have g cd ( 9 , 1 0 0 ) = 1 , so we're free to use Euler's Theorem to get,
9 9 9 ≡ 9 9 9 m o d 4 0 ≡ 9 ( ( 8 1 ) 4 ⋅ 9 ) m o d 4 0 ≡ 9 9 ≡ 2 9 3 ( m o d 1 0 0 )
Now, one can use one of two ways:
a) Simply calculate that value since it's fairly easy to compute 2 9 3 and find the residue modulo 1 0 0 . (boring)
b) Easily compute the residues modulo 4 and 2 5 and then combine the results using Chinese Remainder Theorem. (interesting)
Either way, we'll get 2 9 3 m o d 1 0 0 = 8 9 and hence it follows that,
9 9 9 ≡ 8 9 ( m o d 1 0 0 )
Wow , you solved that sum good :3 :D :P
Log in to reply
Thanks! :3
B y E u l e r ′ s T h e o r e m , 9 φ ( x ) ≡ 1 ( m o d 1 0 0 ) w h e r e φ ( x ) = 4 0 C o n s i d e r 9 9 ≡ 8 1 × 8 1 × 8 1 × 8 1 × 9 ≡ 9 ( m o d 4 0 ) 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 1 0 0 ) ≡ 7 2 9 3 ( m o d 1 0 0 ) ≡ 2 9 3 ( m o d 1 0 0 ) ≡ 2 4 3 8 9 ( m o d 1 0 0 ) ≡ 8 9 ( m o d 1 0 0 )
Problem Loading...
Note Loading...
Set Loading...
We can use binomial theorem too.
9 9 9 = ( 1 0 − 1 ) 9 9 ( 1 0 − 1 ) 9 9 = ( − 1 + 9 9 × 1 0 + 2 9 9 × ( 9 9 − 1 ) × 1 0 0 + . . . )
considering only the ten's and unit digit,
( − 1 + 9 9 × 1 0 + . . . )
= ( − 1 + ( 1 0 − 1 ) 9 × 1 0 + . . . )
= ( − 1 + ( − 1 + 9 × 1 0 ) × 1 0 + . . . )
= ( − 1 − 1 0 + 9 0 0 + . . . )
= 8 9 + 8 0 0 + . . .
Thus answer is 8 9