Prime Exponents Tower

What is the last digit when this exponent tower of primes is expanded?

2 4 8 6

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

Calvin Lin Staff
Jan 19, 2017

Consider the sequence of remainders when 2 n 2^n is divided by 10. For n = 1 , 2 , 3 , n = 1, 2, 3, \ldots , we obtain 2 , 4 , 8 , 6 , 2 , 4 , 8 , 6 , 2, 4, 8, 6, 2, 4, 8, 6, \ldots . The pattern repeats every 4 terms. So we want to discover what is the remainder of 3 5 3^{5{^\ldots }} when divided by 4.

Consider the sequence of remainders when 3 n 3^n is divided by 4. For n = 1 , 2 , 3 , n = 1, 2, 3, \ldots , we obtain 3 , 1 , 3 , 1 , 3 , 1 , 3, 1, 3, 1, 3, 1, \ldots . The pattern repeats ever 2 terms. So we want to discover what is the remainder of 5 7 5^{7^{\ldots } } when divided by 2.

The number 5 is odd, so 5 n 5^n is always going to be odd.

Hence 3 5 3^ { 5 ^ \ldots } is going to leave a remainder of 3 when divided by 4.

Hence 2 3 5 2 ^ { 3 ^{ 5 ^ { \ldots } } } is going to leave a remainder of 8 when divided by 10. Thus, the last digit is 8.

Tijmen Veltman
Sep 16, 2015

The number 5 5 is odd, as is 5 m 5^m for any natural number m m . Hence 3 5 m 3 ( mod 4 ) 3^{5^m}\equiv 3(\text{mod }4) , and therefore 2 3 5 m 2 3 8 ( mod 10 ) 2^{3^{5^m}}\equiv 2^3 \equiv 8 (\text{mod }10) .

How do you know 3 5 m 3^{5^m} must be 3(mod 4) and it can't be 1(mod 4)?

Jerry Lee - 5 years, 8 months ago

Log in to reply

Because the exponent 5 m 5^m is odd. 3 2 k + 1 = 3 2 k 3 = 9 k 3 1 k 3 3 ( m o d 4 ) 3^{2k+1} = 3^{2k} \cdot 3 = 9^k \cdot 3 \equiv 1^k \cdot 3 \equiv 3 \pmod 4 .

Ivan Koswara - 5 years, 8 months ago

Log in to reply

why can't we see it as 5*m in place of 5^m

HIMANSHU PRAJAPATI - 5 years, 8 months ago

Hey, i am unfamiliar with this cocept of writing (mod x). Would you please guide me here

HIMANSHU PRAJAPATI - 5 years, 8 months ago

Log in to reply

https://brilliant.org/math-formatting-guide/

Joseph Adam - 5 years, 8 months ago

Had the same problem. I have found an answer here . "a = b (mod n) means that n is a divisor of a - b"

Dávid Sebők - 5 years, 8 months ago
Sachin Sharma
Oct 4, 2015

5^(anything) has last digit 5

3^(5) or 3^(25) ... has last digit 3

2^(multiple of 3 having last digit 3) = 8

solution by: Sushil Verma

Hm, but 3^(15) has last digit 7.
So why must the last digit of 3^(something with last digit 5) have a last digit of 3?

Calvin Lin Staff - 4 years, 4 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...