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

  • Context: Undergrad 
  • Thread starter Thread starter ilml
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around finding the last two or three digits of the expression 3^3^3^3. Participants explore various methods, primarily focusing on modular arithmetic and congruences, to tackle this problem, which is framed as a mathematical challenge rather than a straightforward calculation.

Discussion Character

  • Exploratory
  • Mathematical reasoning
  • Homework-related

Main Points Raised

  • One participant expresses difficulty in starting the problem and suggests finding a pattern due to the rapid growth of the numbers involved.
  • Another participant proposes using modular arithmetic to find the last digits, explaining that one can reduce the problem using congruences.
  • A different participant provides a calculation for the last two digits using modular arithmetic, arriving at a result of 87.
  • Another participant assumes a specific interpretation of the exponentiation and calculates the last digit as 7, while also suggesting they could find the last two digits.
  • One participant presents a detailed calculation for the last three digits, arriving at a result of 387 through a series of modular reductions.

Areas of Agreement / Disagreement

There is no consensus on the last two or three digits of 3^3^3^3, as participants arrive at different results (87 and 387) based on their calculations and interpretations. Multiple competing views remain regarding the correct approach and final digits.

Contextual Notes

Participants utilize various methods of modular arithmetic, but the discussion reveals some uncertainty about the calculations and assumptions made, particularly regarding the interpretation of exponentiation and the application of modular reductions.

ilml
Messages
5
Reaction score
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
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".
 
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.
 
Oh ok. I'm not really familiar with modular arithmetic but thanks!
 
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.
 
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.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 26 ·
Replies
26
Views
3K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 8 ·
Replies
8
Views
20K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
3K