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

  • Thread starter Thread starter ilml
  • Start date Start date
Click For Summary
SUMMARY

The discussion focuses on finding the last two and three digits of the expression 3^3^3^3 using modular arithmetic. Participants suggest using properties of congruences to simplify calculations, specifically applying modulo 100 for the last two digits and modulo 1000 for the last three digits. The final results are determined to be 87 for the last two digits and 387 for the last three digits. Key techniques include calculating powers and reducing them using modular properties.

PREREQUISITES
  • Understanding of modular arithmetic
  • Familiarity with congruences
  • Basic exponentiation techniques
  • Knowledge of properties of powers
NEXT STEPS
  • Learn advanced modular arithmetic techniques
  • Explore the Chinese Remainder Theorem
  • Study Euler's theorem and its applications
  • Practice solving similar problems involving large exponents
USEFUL FOR

Mathematicians, students studying number theory, educators teaching modular arithmetic, and anyone interested in solving complex exponentiation problems.

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 26 ·
Replies
26
Views
1K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 8 ·
Replies
8
Views
20K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K