Question

Difficulty: Very hardUnit Digit and Cyclicity

Determine the unit digit of the composite exponential expression E=171819+181920192021E = 17^{18^{19}} + 18^{19^{20}} - 19^{20^{21}}.

Answer: 8

Answer

8
The unit digit of 17181917^{18^{19}} is 1 because 181918^{19} is divisible by 4, which corresponds to the 4th power 741(mod10)7^4 \equiv 1 \pmod{10}. The unit digit of 18192018^{19^{20}} is 8 because 19201(mod4)19^{20} \equiv 1 \pmod 4, giving 81=88^1 = 8. The unit digit of 19202119^{20^{21}} is 1 because 202120^{21} is an even exponent, giving 9even1(mod10)9^{\text{even}} \equiv 1 \pmod{10}. Combining these gives 1+81=81 + 8 - 1 = 8.

Step-by-Step Solution

1
Find the unit digit of 17181917^{18^{19}}
The unit digit is 1
Base 7 has cyclicity 4. Exponent 1819=2190(mod4)18^{19} = 2^{19} \equiv 0 \pmod 4. When the remainder modulo 4 is 0, we take the 4th power in the cycle: 741(mod10)7^4 \equiv 1 \pmod{10}.
2
Find the unit digit of 18192018^{19^{20}}
The unit digit is 8
Base 8 has cyclicity 4. Exponent 1920(1)201(mod4)19^{20} \equiv (-1)^{20} \equiv 1 \pmod 4. The 1st power in the cycle gives 81=88^1 = 8.
3
Find the unit digit of 19202119^{20^{21}}
The unit digit is 1
Base 9 has cyclicity 2. The exponent 202120^{21} is even, so 9even1(mod10)9^{\text{even}} \equiv 1 \pmod{10}.
4
Evaluate the combined expression
The final unit digit is 8
Combine the unit digits of the individual terms: 1+81=81 + 8 - 1 = 8.

Key Concept

Cyclicity of numbers and modular arithmetic for tower exponents
Rate this question