Baby Graham's Number

3 3 3 . . . 3 2012 times \LARGE \underbrace{3^{3^{3^{.^{.^{.^{3}}}}}}}_{2012 \text{ times}}

Find the last two digits of the gigantic number above


The answer is 87.

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.

3 solutions

Julian Poon
Aug 13, 2014

You don't need Euler's theorem for this one

The last 2 digits of 3 3 { 3 }^{ 3 } is 27. Taking the ones digit is the only thing necessary for calculating the last 2 digits of 3 3 3 { 3 }^{ { 3 }^{ 3 } } , which the answer is 87 87 . So, from then on, since the last digit is 7 7 , again, no matter how many layers this thing goes to, its last 2 digits would always be 87 87

Therefore, the answer is 87 \boxed { 87 }

Extra fact :- The iterated exponentation as given in question is known as tetration .

Shriram Lokhande - 6 years, 10 months ago

Yes. I am not quite sure how to make this argument more rigorous but my intuition went something like this.

A Former Brilliant Member - 6 years, 8 months ago
Souryajit Roy
Oct 7, 2014

Let a 1 = 3 a_{1}=3 and a i + 1 = 3 a i a_{i+1}=3^{a_{i}}

Now, a i a_{i} is odd for all i i .

So, a i = 3 a i 1 ( 1 ) a i 1 = 1 3 ( m o d 4 ) a_{i}=3^{a_{i-1}}≡(-1)^{a_{i-1}}=-1≡3(mod 4)

Hence, a i a_{i} is of the form 4 k + 3 4k+3 .

Note that, 3 4 1 ( m o d 10 ) 3^{4}≡1(mod 10)

Hence, 3 4 k + 3 3 3 7 ( m o d 10 ) 3^{4k+3}≡3^{3}≡7(mod 10)

Hence,the last digit of all a i a_{i} is 7.

Note that, a 3 = 3 27 ( 3 9 ) 3 8 3 3 87 ( m o d 100 ) a_{3}=3^{27}≡(3^{9})^{3}≡83^{3}≡87(mod 100)

I claim that a i 87 ( m o d 100 ) a_{i}≡87(mod 100) for all i 3 i≥3

I will prove my claim by induction.

Suppose the result is true for some i i

First note that ϕ ( 100 ) = 40 \phi(100)=40 .Hence 3 40 1 ( m o d 100 ) 3^{40}≡1(mod 100)

Now, a i + 1 = 3 a i = 3 100 k + 87 = 3 100 k . 3 87 = ( 3 40 ) 2 k . 3 20 k . 3 87 1. 3 20 k . 87 ( m o d 100 ) a_{i+1}=3^{a_{i}}=3^{100k+87}=3^{100k.}3^{87}=(3^{40})^{2k}.3^{20k}.3^{87}≡1.3^{20k}.87(mod 100) .

If k =2m, then a i + 1 87 ( m o d 100 ) a_{i+1}≡87(mod 100) and we are done.

If k=2m+1, then a i + 1 87. 3 40 m . 3 20 87. ( 3 10 ) 2 87. ( 49 ) 2 87.1 ( m o d 100 ) a_{i+1}≡87.3^{40m}.3^{20}≡87.(3^{10})^{2}≡87.(49)^{2}≡87.1(mod 100) (since 3 10 49 ( m o d 100 ) 3^{10}≡49(mod 100) )

This is a much deeper analysis compared to mine. I just took advantage of the amazing properties of 3 3 . By the way, you can use the LATEX code \times for a times sign like this × \times

Julian Poon - 6 years, 7 months ago
Christian Daang
Oct 11, 2014

evaluate the 3^3...

= 27

So...

the last 2 digits is 27

So,

3.^(3^(3^(...^3^(27)))

last two digits is 87

So, until the last 3, 87 will be the last 2 digits...

How did you suddenly conclude that "last two digits is 87"?

Calvin Lin Staff - 6 years, 3 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...