Solve this Math Problem: Find the Last Two/Three Digits of 3^3^3^3

  • Thread starter ilml
  • Start date
In summary, the conversation is about finding the last two or three digits of the number 3^3^3^3 using modular arithmetic and congruences. The process involves reducing the number to a single digit and then using properties of congruences to find the last digits. The conversation also suggests using Wolfram or Google for more information on modular arithmetic and congruences.
  • #1
ilml
5
0
Hello, I was randomly browsing sites and I came upon this math question which I am stuck on (and desperately want to solve!): Find the last two digits of 3^3^3^3. Can you find the last three digits?

I'm stuck on this problem because I really don't know where to begin. I figure that you need to find a pattern or period of some sort, but the numbers grow too fast and therefore there aren't that many readily available samples. Any help is appreciated! THANKS!
 
Physics news on Phys.org
  • #2
You can figure it out using modular arithmetic. a==b (mod n) means a-b is divisible by n. To figure out the last digit, use (3^3^3^3)==last digit (mod 10). Then use the properties of congruences to reduce 3^3^3^3 down to a single digit number. Similarly, the residue mod 100 leaves you with the last 2 digits.

I'm sure there's info on modular arithmentic and congruences on Wolfram. If not, try Googling "modular arithmetic" and/or "congruence".
 
  • #3
For instance, (all of the following is mod 100 )

3^3=27
3^3^3=27^3=27*27^2=27*(25+2)^2==27*(25+0+4)=27*29=28^2 - 1=(30-2)^2 - 1== 0 - 20 + 4 -1 == -17
So, 3^3^3^3=(-17)^3== (-17)* 89 == (-17)*(-11) ==87

That should be your last 2 digits.

If you want the last 3, you do the same thing mod 1000, instead of 100. If there's an easier way, I haven't figured one out yet.
 
  • #4
Oh ok. I'm not really familiar with modular arithmetic but thanks!
 
  • #5
3^3^3^3
I'm going to assume that this is ((3^3)^3)^3 since I've seen it before (even though it goes against PEDMAS).

3^3 = 3*3*3= 27
ignore the second digit since it won't affect the first in Z multiplications
7^3 = 343
same reasoning
3^3 = 27
the last digit is 7

3^3 = 3*3*3 = 27
27^3 = 19 683
ignore all digits except first two since they won't affect them in Z multiplications
83^3 = 571 787

The last two digits are 8 and 7. I could do it again for three digits if you want.
 
  • #6
We look at: 3^10==49 Mod 1000, 3^20==401 Mod 1000, 3^50==249 Mod 1000, 3^100==1 Mod 1000, and 3^7==187 Mod 1000.

Then we have, using the usual notation 3^3^3^3 =3^3^27= 3^((3^10)x3^10x(3^7))==3^(401x187) ==3^(987) ==(3^900)(3^87) ==3^87==((3^20)^4)(3^7) ==((401)^4)(3^7) == 601x187==387 Mod(1000). Thus the last three digits are 387.
 

1. What is the math problem being solved?

The math problem being solved is finding the last two or three digits of the value of 3 to the power of 3 to the power of 3 to the power of 3.

2. What is the significance of finding the last two/three digits?

The last two or three digits can provide information about the overall magnitude of the number. It can also help with simplifying or comparing large numbers.

3. How do you solve this math problem?

To solve this math problem, you can use the concept of modular arithmetic. First, you need to find the remainder when 3 is divided by 100 or 1000, depending on whether you are looking for the last two or three digits. Then, you need to find the remainder when the exponential expression 3^3^3 is divided by that number. This process is repeated until you reach the desired number of exponents.

4. Can this math problem be solved without a calculator?

Yes, this math problem can be solved without a calculator. However, it may require a lot of manual calculations and can be time-consuming.

5. What is the practical application of this math problem?

This math problem has applications in cryptography, computer science, and number theory. It can also be used to test one's understanding of modular arithmetic and number patterns.

Similar threads

Replies
6
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
7
Views
2K
  • Introductory Physics Homework Help
Replies
2
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
4
Views
2K
  • Precalculus Mathematics Homework Help
Replies
1
Views
1K
Replies
1
Views
2K
Replies
6
Views
2K
Replies
10
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
1K
  • Precalculus Mathematics Homework Help
Replies
8
Views
1K
Back
Top