Tower of 7s

What is the final digit of 7 7 7 7 7 7 7 7^{7^{7^{7^{7^{7^{7}}}}}} ?

This is a tower of seven 7's.


The answer is 3.

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.

6 solutions

Cody Johnson
Sep 10, 2014

Looking at small powers of 7 7 , notice that we only care about the last digit, so we can easily compute the last digit of 7 n 7^n :

7 1 7 7 2 7 7 9 7 3 7 9 3 7 4 7 3 1 7 5 7 1 7 7 6 7 7 9 7 7 7 9 3 7 8 7 3 1 \begin{aligned} 7^1&\equiv7\\ 7^2&\equiv7\cdot7\equiv9\\ 7^3&\equiv7\cdot9\equiv3\\ 7^4&\equiv7\cdot3\equiv1\\ 7^5&\equiv7\cdot1\equiv7\\ 7^6&\equiv7\cdot7\equiv9\\ 7^7&\equiv7\cdot9\equiv3\\ 7^8&\equiv7\cdot3\equiv1 \end{aligned}

This suggests the pattern that 7 4 k 1 7^{4k}\equiv1 , 7 4 k + 1 7 7^{4k+1}\equiv7 , 7 4 k + 2 9 7^{4k+2}\equiv9 , and 7 4 k + 3 3 7^{4k+3}\equiv3 . Using modular arithmetic (thank you Calvin Lin), we get 7 7 7 7 7 7 = 4 k + 3 7^{7^{7^{7^{7^7}}}}=4k+3 , so the answer is 3 \boxed{3} .

great explanation! thank u

Sanjoy Roy - 6 years, 9 months ago
William Chau
Sep 11, 2014

Let 7(n) be a tower of n 7's. Examine the powers of 7 under modulo 4:

7 = 7;

7^2 = 49 = 1.

So 7^a = 7 and 7^b = 7 for odd a and even b. Since 7(5) is odd, so 7(6) = 7^(7(5)) = 7 (mod 4). Examine the power of 7 under modulo 10:

7 = 7;

7^2 = 9;

7^3 = 3;

7^4 = 1.

Therefore 7(7) = 7^(7(6)) = 7^7 = 7^3 = 3 (mod 10). The final digit is 3.

Chew-Seong Cheong
Sep 11, 2014

The answer seems to be wrong. It should be 7 7 . My argument is as follows. Let's check the first n 7 n^7 , where 1 n 30 1 \le n \le 30 is an integers . They are as follows:

1 7 = 1 1^7= 1

2 7 = 128 2 ^7=128

3 7 = 2187 3^7= 2187

4 7 = 16384 4 ^7=16384

5 7 = 78125 5^7= 78125

6 7 = 279936 6^7= 279936

7 7 = 823543 7^7= 823543

8 7 = 2097152 8^7= 2097152

9 7 = 4782969 9^7= 4782969

1 0 7 = 10000000 10^7= 10000000

1 1 7 = 19487171 11^7= 19487171

1 2 7 = 35831808 12^7= 35831808

1 3 7 = 62748517 13^7= 62748517

1 4 7 = 105413504 14^7= 105413504

1 5 7 = 170859375 15^7= 170859375

1 6 7 = 268435456 16^7= 268435456

1 7 7 = 410338673 17^7= 410338673

1 8 7 = 612220032 18^7= 612220032

1 9 7 = 893871739 19^7= 893871739

2 0 7 = 1280000000 20^7= 1280000000

2 1 7 = 1801088541 21^7= 1801088541

2 2 7 = 2494357888 22^7= 2494357888

2 3 7 = 3404825447 23^7= 3404825447

2 4 7 = 4586471424 24^7= 4586471424

2 5 7 = 6103515625 25^7= 6103515625

2 6 7 = 8031810176 26^7= 8031810176

2 7 7 = 10460353203 27^7= 10460353203

2 8 7 = 13492928512 28^7= 13492928512

2 9 7 = 17249876309 29^7= 17249876309

3 0 7 = 21870000000 30^7= 21870000000

It can be seen that the last digit if n 7 n^7 depends only the last digit of n n . They are in a sequence of 1 , 8 , 7 , 4 , 5 , 6 , 3 , 2 , 9 , 0 1, 8, 7, 4, 5, 6, 3, 2, 9, 0 . Therefore,

7 7 3 m o d 10 7^7 \equiv 3 \mod {10}

( 7 7 ) 7 7 m o d 10 (7^7)^7 \equiv 7 \mod {10}

( ( 7 7 ) 7 ) 7 3 m o d 10 ((7^7)^7)^7 \equiv 3 \mod {10}

( ( ( 7 7 ) 7 ) 7 ) 7 7 m o d 10 (((7^7)^7)^7)^7 \equiv 7 \mod {10}

( ( ( ( 7 7 ) 7 ) 7 ) 7 ) 7 3 m o d 10 ((((7^7)^7)^7)^7)^7 \equiv 3 \mod {10}

( ( ( ( ( 7 7 ) 7 ) 7 ) 7 ) 7 ) 7 7 m o d 10 (((((7^7)^7)^7)^7)^7)^7 \equiv 7 \mod {10}

The answer should be 7 \boxed{7} and not 3 3 . I guessed the 'wrong' answer.

i agree with you. i also wrote 7 first but according to brilliant it was not correct so i changed it to 3 in next trial.

Amit Sharma - 6 years, 9 months ago

I believe the answer is 3

Aviral Tyagi - 6 years, 9 months ago

I have complained to Brilliant.org. They should be checking it now. Just wait for the answer.

Chew-Seong Cheong - 6 years, 9 months ago

Note that a b c = a ( b c ) a^{b^c} = a^{ ( b^c ) } by convention. You work from the highest point down, not the lowest point up.

Calvin Lin Staff - 6 years, 9 months ago

Log in to reply

I thought a b c = a b × c a^{b^{c}} = a^{b \times c} instead of a ( b c ) a^{(b^{c})} . Am I wrong?

Danjiro Katsujima - 6 years, 8 months ago

My reasoning is exactly the same as yours, Mr. Cheong.

Danjiro Katsujima - 6 years, 8 months ago
Christian Daang
Sep 28, 2014

very Simple Solution.. Came from me... XD

The answer is 3:

7^7^7^7^7^7^7

Evaluate: 7^7 = 823543

Since the cycle is always: 7^1 = 7 7^2 = 9 (last digit of 49) 7^3 = 3 7^4 = 1

Divide 823543 to 4, youll get: 205885 remainder 3

So, it's last digit is on 3..

7^7^7^7^7^823543

Since 7^823543 ends in 3

7^7^7^7^(...3) , where in, (...3) is equivalent to the value of 7^823543

Again, 3 is the last digit of 7^(...3)

So, until to the last 7, the last digit is 3..

There fore, the last digit of 7^7^7^7^7^7^7 is 3...

Antonio Fanari
Sep 12, 2014

Thanks to Calvin Lin! I can correct my explanation.

The last digit of N = (7 ↑↑ 7) is: LD(7 ↑↑ 7) = 3.

Proof:

7^(7^(7^(7^(7^(7^7))))) = 7 ↑↑ 7; (tetration of "7" "7's")

7^0 => LD(7^0) = 1 = LD(7^(4n); => 7^(4n) ≡ 1 mod 10;

7^1 => LD(7^1) = 7 = LD(7^(4n + 1)); => 7^(4n + 1) ≡ 7 mod 10;

7^2 => LD(7^2) = 9; LD(7^(4n + 2)); => 7^(4n + 2) ≡ 9 mod 10;

7^3 => LD(7^3) = 3 = LD(7^(4n + 3)); => 7^(4n + 3) ≡ 3 mod 10;

there is a periodicity with period c = 4, n ∈ ℕ ∪ {0};

Since, because:

LD(7 ↑↑7) = 7 ↑↑ 7 mod 10, with period c = 4;

7 ≡ 3 mod 4; but also:

7 ≡ -1 mod 4;

so, because:

4k - 1 = 4(k - 1) + 3, is odd, we have:

7^(4(k - 1)+ 3) ≡ (- 1)^(4(k - 1)+ 3) mod 4,

7^(4(k - 1) + 3) ≡ - 1 mod 4,

so:

7^(4(k - 1) + 3) = 4N + 3;

so, LD(7^(4(k - 1) + 3) = 3, and so:

(7 ↑↑ 2) = 7^7 = 7^(4N2 + 3) = (4N3 + 3); N2 = 1

(7 ↑↑ 3) = 7^(4N3 + 3) = (4N3 + 3); N3 = 205885;

(7 ↑↑ 4) = 7^(4N4 + 3) = (4N5 + 3) N4 = ((7 ↑↑ 3) - 3)/4

(7 ↑↑ 5) = 7^(4N5 + 3) = ...

(7 ↑↑ 6) = 7^(4N6 + 3) = ...

(7 ↑↑ 7) = 7^(4N7 + 3) = ...

(7 ↑↑ n) = 7^(4Nn + 3) = ...

k, n ∈ ℕ - {1}; N, Nk ∈ ℕ;

so, ANSWER:

LD(7 ↑↑ 7) = 3,

and: LD(7 ↑↑ n) = 3

The first line of your proof is incorrect.

Note that a b c = a ( b c ) a^{b^c} = a^{ ( b^c ) } by convention. You work from the highest point down, not the lowest point up.

Calvin Lin Staff - 6 years, 9 months ago

Log in to reply

I agree, Thanks!

Antonio Fanari - 6 years, 9 months ago
Shovon Pramanik
Sep 11, 2014

7 7 7 7 7 7 7 =823543

You misinterpreted the tower of exponents.

It is not multiplication, which gives 7 × 7 × 7 × 7 = 7 7 = 823543 7 \times 7 \times 7 \ldots \times 7 = 7^7 = 823543 .

Calvin Lin Staff - 6 years, 9 months ago

the final digit of tower of seven 7's should be 7 not 3... zzzz

Maju Sumanto Tampubolon - 6 years, 9 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...