Bunuel
t and w are distinct integers between 105 and 100, not inclusive. Which of the following could be the units digit of positive integer ‘n’, if t > w + 1, where \(n = (t^w - w^t)^w?\)
A. 0
B. 1
C. 2
D. 3
E. 4
Ans (A)
Interesting problem.
From Qn we can deduce the following values for t & w:
t w
103 101 ==> (103^101 - 101^103)^101 ----- case(1)
104 102 ==> (104^102 - 102^104)^102 ----- case(2)
104 101 ==> (104^101 - 101^104)^101 ----- case(3)
Now, before proceeding further, we must know two important number theory rules:
Rule#1 : Cyclicity for units digits of all natural numbers is 4 i.e. after every four occurrences, units digit must repeat.
Based on this rule, above cases will give the following results:
Case(1) : 3-1 = 2 (units digit)
Case(2) : 6-6 = 0 (units digit)
Case(3) : 4-1 = 3 (units digit)
Rule#2:
For scenario like a^b - b^a, it will give negative result as we increase the value of a and b. Lets check this in a pattern using numbers:
2^1 - 1^2 = 2-1 = 1
3^2 - 2^3 = 9-8 = 1 -------
For numbers after this, we will get negative values. 4^3 - 3^4 = 64-81 = -17
7^5 - 5^7 = 16807-78125 = Big negative no
.
.
Now, going back to our cases, for case(1) & Case(3) :
(103^101 - 101^103)^101 = A negative no odd no of times will yield a negative no
(104^101 - 101^104)^101 = A negative no odd no of times will yield a negative no
But for Case(2)
(104^102 - 102^104)^102 = A negative no even no of times will yield a positive no [ The question statement clear mentioned the positive value of n]
Thanks!
Quick question, In the cases 1 and 3, how can we be sure that the units digit it 2 and 3 respectively when as stated by Rule #2 the first number will be smaller than the second?