2 0 1 2 times 3 3 3 3 ⋅ ⋅ ⋅ 3 ( m o d 1 0 0 ) = ?
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.
Good detailed explanation of how to understand and deal with these tetrations.
This reminds me of Graham's number!
Yup i also used Carmichael's lambda function
Note that 3 2 ≡ 1 ( m o d 4 ) , 3 4 ≡ 1 ( m o d 5 ) and 3 2 0 ≡ 1 ( m o d 2 5 ) , so that 3 2 0 ≡ 1 ( m o d 1 0 0 ) and 3 4 ≡ 1 ( m o d 2 0 ) . If we define X ( n ) = × n 3 3 3 ⋅ ⋅ ⋅ 3 3 then X ( 2 0 1 0 ) = 3 X ( 2 0 0 9 ) ≡ ( − 1 ) X ( 2 0 0 9 ) ≡ − 1 ≡ 3 ( m o d 4 ) , so that X ( 2 0 1 1 ) = 3 X ( 2 0 1 0 ) ≡ 3 3 ≡ 7 ( m o d 2 0 ) , and hence X ( 2 0 1 2 ) ≡ 3 X ( 2 0 1 1 ) ≡ 3 7 ≡ 8 7 ( m o d 1 0 0 ) .
Problem Loading...
Note Loading...
Set Loading...
Relevant wiki: Finding the last few digits of a power
Method 1 : Repeated use of Euler's totient function .
Let n a denote the Tetration function, n a = n times a a a ⋅ ⋅ ⋅ a for positive integer n . So we want to evaluate 2 0 1 2 3 m o d 1 0 0 .
Notice that the tetration function satisfy the condition that n a = a ( n − 1 a ) . So we have 2 0 1 2 3 = 3 2 0 1 1 3 .
For simplicity sake, let A = 2 0 1 2 3 , B = 2 0 1 1 3 , C = 2 0 1 0 3 , D = 2 0 0 9 3 , E = 2 0 0 8 3 , F = 2 0 0 7 3 , then A = 3 B , B = 3 C , C = 3 D , D = 3 E , E = 3 F .
Since the greatest common divisor of 3 and 100 is 1, so we can apply Euler's totient function for modulo 100:
A ≡ 3 B ≡ 3 B m o d ϕ ( 1 0 0 ) ≡ 3 B m o d 4 0 ≡ 3 3 C m o d 4 0 ( m o d 1 0 0 )
Likewise, since g cd ( 3 , 4 0 ) = 1 , we can calculate the congruence (highlighted in blue) by applying Euler's totient function once more for modulo 40:
3 C ≡ 3 3 D m o d ϕ ( 4 0 ) ≡ 3 3 D m o d 1 6 ( m o d 4 0 )
Likewise, since g cd ( 3 , 1 6 ) = 1 , we can calculate the congruence (highlighted in green) by applying Euler's totient function once more for modulo 16:
3 D ≡ 3 3 E m o d ϕ ( 1 6 ) ≡ 3 3 E m o d 8 ( m o d 1 6 )
Likewise, since g cd ( 3 , 8 ) = 1 , we can calculate the congruence (highlighted in red) by applying Euler's totient function once more for modulo 8:
3 E ≡ 3 3 F m o d ϕ ( 8 ) ≡ 3 3 F m o d 4 ≡ 3 ( − 1 ) F m o d 4 ≡ 3 ( − 1 ) some odd number m o d 4 ≡ 3 − 1 ≡ 3 3 ≡ 3
So the expression in red is equal to 3, and sustituting these values back shows that
the expression in green is equal to 3 3 m o d 1 6 = 1 1 ,
the expression blue is equal to 3 1 1 m o d 4 0 = 2 7 ,
and finally A modulo 100 is 3 2 7 m o d 1 0 0 = 8 7 .
Method 2 : Repeated use of Carmichael's lambda function .
It's easy to show that λ ( 1 0 0 ) = 2 0 and λ ( 2 0 ) = 4 .
Since g cd ( 3 , 1 0 0 ) = 1 , we can apply Carmichael's lambda function.
Using the same variables in Method 1, for modulo 100:
A ≡ 3 B ≡ 3 B m o d λ ( 1 0 0 ) ≡ 3 B m o d 2 0 ( m o d 1 0 0 )
Likewise, since g cd ( 3 , 2 0 ) = 1 , we can calculate the congruence (highlighted in purple) by applying Carmichael's lambda function. once more for modulo 20:
3 B ≡ 3 3 C m o d λ ( 2 0 ) ≡ 3 3 C m o d 4 ≡ 3 ( − 1 ) C m o d 4 ≡ 3 ( − 1 ) some odd number m o d 4 ≡ 3 − 1 ≡ 3 3 ≡ 7 ( m o d 2 0 )
So the expression in purple is equal to 7, and substituting these values back shows that A modulo 100 is 3 7 m o d 1 0 0 = 8 7 as well.
Food for thought : What is the last few digits of Graham's number ? Coincidence?