The Agony of Extraordinarily Huge numbers

1 9 1 7 1 5 3 1 \huge 19^{17^{15^{\cdots^{3^{1}}}}}

Find the last 2 2 digits of the above number.

Details and Assumptions :

The powers of the next preceding number decreases by 2 2 starting from 17 17 and ending off with 1 1 .


Also, this question is taken from a local Mathematics competition.(Singapore)


The answer is 59.

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.

2 solutions

Discussions for this problem are now closed

Jake Lai
Feb 9, 2015

It's not hard, just tedious.

By Euler's theorem, we know that a φ ( n ) 1 ( m o d n ) a^{\varphi(n)} \equiv 1 \pmod{n} where φ ( n ) \varphi(n) is the Euler totient function and g c d ( a , n ) = 1 gcd(a,n) = 1 . Thus, equipped with this fact and that φ ( φ ( 100 ) ) = φ ( 40 ) = 16 \varphi(\varphi(100)) = \varphi(40) = 16 we work from the inside out.

1 5 1 3 1 1 ( 1 ) 1 3 1 1 1 ( m o d 16 ) 15^{13^{11^{\ldots}}} \equiv (-1)^{13^{11^{\ldots}}} \equiv -1 \pmod{16}

1 7 1 5 1 3 1 7 1 33 ( m o d 40 ) 17^{15^{13^{\ldots}}} \equiv 17^{-1} \equiv 33 \pmod{40}

1 9 1 7 1 5 ( 3 4 ) 33 3 12 59 ( m o d 100 ) 19^{17^{15^{\ldots}}} \equiv (-3^{4})^{33} \equiv -3^{12} \equiv \boxed{59} \pmod{100}

Let's see, and use good old modular arithmetic. This is a bit tedious too, but you can find that the last two digits in the powers of 19 19 repeat themselves in intervals of 10 10 . You can just do this by taking last two digits and then multiplying it over and over and over again with 19 19 . The series is as given:

1 , 19 , 61 , 59 , 21 , 99 , 81 , 39 , 41 , 79 , 1 , . . . 1,19,61,59,21,99,81,39,41,79,1,...

Now we just have to fund out the value of n n where n 1 7 1 5 3 1 ( m o d 10 ) n\equiv17^{ 15^{ { \dots }^{ { 3 }^{ 1 } } } }\pmod{10}

It's easy to observe that the units digits of the powers of 17 17 repeat themselves at intervals of 4: 1 , 7 , 9 , 3 , 1 , . . . 1,7,9,3,1,...

Now we have to find what the last digit of this power of 17 17 is, so that we can find n n

1 5 3 1 ( 1 ) 3 1 ( m o d 4 ) 15^{ { \dots }^{ { 3 }^{ 1 } } }\equiv(-1)^{ { \dots }^{ { 3 }^{ 1 } } }\pmod{4}

which means that 1 5 3 1 3 ( m o d 4 ) 15^{ { \dots }^{ { 3 }^{ 1 } } }\equiv3\pmod{4}

this implies that the power of 17 17 had units digit 3 3 and hence n = 3 n=3 which gives the answer as 59 \boxed{59}

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...