Find the last two digits of the number ## 9^{9^{9}} ##.

  • Thread starter Math100
  • Start date
In summary: So, the number ##9^{9^9}## is equal to the sum of the digits of the number ##9^{9}## and the digit ##1##. Very well, that was the idea. Yes, ##9^9\equiv 89 \pmod {100}## needs probably a computation (##9^3=729## and ##29^3=24,389##) and ##9^9\equiv 1 \pmod {10}## is a consequence thereof. The latter can also be seen by:\begin{align*}9^1&\equiv 9 \pmod {10}\\9^2&\equiv 1 \pmod {10
  • #1
Math100
756
201
Homework Statement
Find the last two digits of the number ## 9^{9^{9}} ##.
[Hint: ## 9^{9}\equiv 9\pmod {10} ##; hence, ## 9^{9^{9}}=9^{9+10k} ##; notice that ## 9^{9}\equiv 89\pmod {100} ##.]
Relevant Equations
None.
Note that ## 9^{9}\equiv 9\pmod {10} ##.
Thus
\begin{align*}
&9^{9^{9}}\equiv 9^{9+10k}\pmod {100}\\
&\equiv (9^{9}\cdot 9^{10k})\pmod {100}\\
&\equiv (9^{9}\cdot (-1)^{10k})\pmod {100}\\
&\equiv 9^{9}\cdot [(-1)^{10}]^{k}\pmod {100}\\
&\equiv (9^{9}\cdot 1)\pmod {100}\\
&\equiv 9^{9}\pmod {100}\\
&\equiv 89\pmod {100}.\\
\end{align*}
Therefore, the last two digits of the number ## 9^{9^{9}} ## are ## 89 ##.
 
  • Like
Likes Delta2
Physics news on Phys.org
  • #2
Math100 said:
Homework Statement:: Find the last two digits of the number ## 9^{9^{9}} ##.
[Hint: ## 9^{9}\equiv 9\pmod {10} ##; hence, ## 9^{9^{9}}=9^{9+10k} ##; notice that ## 9^{9}\equiv 89\pmod {100} ##.]
Relevant Equations:: None.

Note that ## 9^{9}\equiv 9\pmod {10} ##.
Thus
\begin{align*}
&9^{9^{9}}\equiv 9^{9+10k}\pmod {100}\\
&\equiv (9^{9}\cdot 9^{10k})\pmod {100}\\
&\equiv (9^{9}\cdot (-1)^{10k})\pmod {100}\\
&\equiv 9^{9}\cdot [(-1)^{10}]^{k}\pmod {100}\\
&\equiv (9^{9}\cdot 1)\pmod {100}\\
&\equiv 9^{9}\pmod {100}\\
&\equiv 89\pmod {100}.\\
\end{align*}
Therefore, the last two digits of the number ## 9^{9^{9}} ## are ## 89 ##.
I do not understand the third step, where you go from ##9^{10k}## to ##(-1)^{10k}.## Why should this be true modulo ##100##? It is true modulo ##10##, not ##100.##
 
  • Like
Likes Delta2
  • #3
fresh_42 said:
I do not understand the third step, where you go from ##9^{10k}## to ##(-1)^{10k}.## Why should this be true modulo ##100##? It is true modulo ##10##, not ##100.##
I think I am wrong, then. Because I thought it is true modulo ## 100 ##.
 
  • Like
Likes Delta2
  • #4
Math100 said:
I think I am wrong, then. Because I thought it is true modulo ## 100 ##.
Try ##(9^{10})^k=(9^9\cdot 9)^k## modulo ##100##.
 
  • Like
Likes Delta2
  • #5
fresh_42 said:
Try ##(9^{10})^k=(9^9\cdot 9)^k## modulo ##100##.
## (9^{10})^{k}\equiv 1^{k}\pmod {100} ##
 
  • #6
Because ## 9^{10}\equiv 1\pmod {100} ##.
 
  • Like
Likes Delta2
  • #7
Observe that ## 9^{9}\equiv 9\pmod {10} ## and ## 9^{10}\equiv 1\pmod {100} ##.
Thus
\begin{align*}
&9^{9^{9}}\equiv (9^{9+10k})\pmod {100}\\
&\equiv (9^{9}\cdot 9^{10k})\pmod {100}\\
&\equiv [9^{9}\cdot (1)^{k}]\pmod {100}\\
&\equiv (9^{9}\cdot 1)\pmod {100}\\
&\equiv 9^{9}\pmod {100}\\
&\equiv 89\pmod {100}.\\
\end{align*}
Therefore, the last two digits of the number ## 9^{9^{9}} ## are ## 89 ##.
 
  • Like
Likes Delta2
  • #8
Math100 said:
Observe that ## 9^{9}\equiv 9\pmod {10} ## and ## 9^{10}\equiv 1\pmod {100} ##.
Thus
\begin{align*}
&9^{9^{9}}\equiv (9^{9+10k})\pmod {100}\\
&\equiv (9^{9}\cdot 9^{10k})\pmod {100}\\
&\equiv [9^{9}\cdot (1)^{k}]\pmod {100}\\
&\equiv (9^{9}\cdot 1)\pmod {100}\\
&\equiv 9^{9}\pmod {100}\\
&\equiv 89\pmod {100}.\\
\end{align*}
Therefore, the last two digits of the number ## 9^{9^{9}} ## are ## 89 ##.
Yes, but how did you find ##9^{10}\equiv 1 \pmod {10}##?

Can you explain that and why ##9^9\equiv 9 \pmod {10}## without calculating the products?
 
  • #9
fresh_42 said:
Yes, but how did you find ##9^{10}\equiv 1 \pmod {10}##?

Can you explain that and why ##9^9\equiv 9 \pmod {10}## without calculating the products?
For ## 9^{9}\equiv 9\pmod {10} ##, I got this from the hint in this question/problem. As for ## 9^{10}\equiv 1\pmod {100} ##, I found that by,

## 9^{10}\equiv (9^{9}\cdot 9)\pmod {100}\equiv (89\cdot 9)\pmod {100}\equiv 801\pmod {100}\equiv 1\pmod {100} ##.
Thus ## 9^{10}\equiv 1\pmod {100} ##.
 
Last edited:
  • Like
Likes Delta2
  • #10
Math100 said:
For ## 9^{9}\equiv 9\pmod {10} ##, I got this from the hint in this question/problem. As for ## 9^{10}\equiv 1\pmod {10} ##, I found that by,

## 9^{10}\equiv (9^{9}\cdot 9)\pmod {100}\equiv (89\cdot 9)\pmod {100}\equiv 801\pmod {100}\equiv 1\pmod {100} ##.
Thus ## 9^{10}\equiv 1\pmod {100} ##.
Very well, that was the idea. Yes, ##9^9\equiv 89 \pmod {100}## needs probably a computation (##9^3=729## and ##29^3=24,389##) and ##9^9\equiv 1 \pmod {10}## is a consequence thereof. The latter can also be seen by:
\begin{align*}
9^1&\equiv 9 \pmod {10}\\
9^2&\equiv 1 \pmod {10}\\
9^3&\equiv 9 \pmod {10}\\
9^4&\equiv 1 \pmod {10}\\
9^5&\equiv 9 \pmod {10}\\
&\ldots
\end{align*}
The digits ##1## and ##9## alternate.
 
  • Like
Likes Delta2 and Math100

1. How do you find the last two digits of a number raised to a large power?

To find the last two digits of a number raised to a large power, you can use a method called modular arithmetic. This involves finding the remainder when the number is divided by 100. The remainder will be the last two digits of the number.

2. What is the significance of the last two digits of a number raised to a large power?

The last two digits of a number raised to a large power can provide important information about the number itself. For example, in cryptography, the last two digits of a large number raised to a large power can determine the encryption key.

3. Can you provide an example of finding the last two digits of a number raised to a large power?

Sure, let's take the number 9 raised to the power of 9 raised to the power of 9. This can be written as 9^(9^9). Using modular arithmetic, we can find the remainder when 9^9 is divided by 100, which is 61. Then, we can find the remainder when 9^61 is divided by 100, which is 89. Therefore, the last two digits of 9^(9^9) are 89.

4. Is there a shortcut or formula for finding the last two digits of a number raised to a large power?

Yes, there is a shortcut called Euler's totient function. This function calculates the number of positive integers less than a given number that are relatively prime to that number. Using this function, we can find the last two digits of a number raised to a large power without having to actually calculate the entire number.

5. Can the last two digits of a number raised to a large power ever be predicted or known without calculating it?

No, the last two digits of a number raised to a large power cannot be predicted or known without actually calculating it. This is because the result depends on the specific number and power being used, and there is no general formula that can be applied to all cases.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
3
Views
1K
  • Precalculus Mathematics Homework Help
Replies
1
Views
990
  • Precalculus Mathematics Homework Help
Replies
1
Views
703
  • Precalculus Mathematics Homework Help
Replies
7
Views
1K
  • Precalculus Mathematics Homework Help
Replies
1
Views
737
  • Precalculus Mathematics Homework Help
Replies
3
Views
847
  • Precalculus Mathematics Homework Help
Replies
2
Views
878
  • Precalculus Mathematics Homework Help
Replies
3
Views
2K
  • Precalculus Mathematics Homework Help
Replies
6
Views
1K
  • Precalculus Mathematics Homework Help
Replies
4
Views
2K
Back
Top