Last visit was: 19 Nov 2025, 08:14 It is currently 19 Nov 2025, 08:14
Close
GMAT Club Daily Prep
Thank you for using the timer - this advanced tool can estimate your performance and suggest more practice questions. We have subscribed you to Daily Prep Questions via email.

Customized
for You

we will pick new questions that match your level based on your Timer History

Track
Your Progress

every week, we’ll send you an estimated GMAT score based on your performance

Practice
Pays

we will pick new questions that match your level based on your Timer History
Not interested in getting valuable practice questions and articles delivered to your email? No problem, unsubscribe here.
Close
Request Expert Reply
Confirm Cancel
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 19 Nov 2025
Posts: 105,389
Own Kudos:
Given Kudos: 99,977
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 105,389
Kudos: 778,264
 [43]
4
Kudos
Add Kudos
39
Bookmarks
Bookmark this Post
Most Helpful Reply
avatar
praveen8047
Joined: 30 May 2013
Last visit: 08 Feb 2020
Posts: 21
Own Kudos:
75
 [19]
Given Kudos: 10
GMAT 1: 600 Q50 V21
GMAT 2: 640 Q49 V29
Products:
GMAT 2: 640 Q49 V29
Posts: 21
Kudos: 75
 [19]
12
Kudos
Add Kudos
6
Bookmarks
Bookmark this Post
General Discussion
User avatar
oryahalom
Joined: 18 May 2017
Last visit: 05 Nov 2017
Posts: 44
Own Kudos:
Given Kudos: 125
Posts: 44
Kudos: 19
Kudos
Add Kudos
Bookmarks
Bookmark this Post
User avatar
Madhavi1990
Joined: 15 Jan 2017
Last visit: 15 Jul 2021
Posts: 254
Own Kudos:
Given Kudos: 931
Posts: 254
Kudos: 93
Kudos
Add Kudos
Bookmarks
Bookmark this Post
I also thought of approximation
taking t =104 and w = 102
So I plug in: (104^102 - 102^104)^102 => going by the last digit rule => (4^2 - 2^4)^102 = zero
However using 103 and 101, answer is 2 in units digit
:(
Will wait for the detailed OA
User avatar
Dkingdom
Joined: 13 Apr 2017
Last visit: 12 Mar 2021
Posts: 67
Own Kudos:
Given Kudos: 30
Location: India
Concentration: General Management, International Business
GMAT 1: 660 Q40 V41
GPA: 3.4
WE:Engineering (Energy)
GMAT 1: 660 Q40 V41
Posts: 67
Kudos: 66
Kudos
Add Kudos
Bookmarks
Bookmark this Post
praveen8047
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!

Hi Praveen,

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?

Thanks!
User avatar
ENGRTOMBA2018
Joined: 20 Mar 2014
Last visit: 01 Dec 2021
Posts: 2,325
Own Kudos:
3,837
 [4]
Given Kudos: 816
Concentration: Finance, Strategy
GMAT 1: 750 Q49 V44
GPA: 3.7
WE:Engineering (Aerospace and Defense)
Products:
GMAT 1: 750 Q49 V44
Posts: 2,325
Kudos: 3,837
 [4]
2
Kudos
Add Kudos
2
Bookmarks
Bookmark this Post
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

Good question to check concepts for cyclicity. This question is a "could be" and not "must be" and thus is tells us that picking 1 set of values for t and w should do the trick. DO note that t>w+1 such that 100< t,w<105.

The only possible sets for (t,w) are (104,102), (103,101) and (104,101). I will take (104,102) as I like to play around with even numbers and because I know 2 and 4 have 4 and 2 as cyclicity.

Taking that into account, n = \((104^{102} - 102^{104})^{102}\)

Treating them separately, units digit of 104^102 will be the same as that for 4^2 = 16 = 6 as the unit's digit.

Similarly, Units digit for 102^104 will be the same as that for 2^4 (as 104 is divisible by 4, cyclicity of 2). 2^4 = 16 and as such the unit's digit will be =6.

Now realize that as both the unit's digits (for 104^102 and 102^104)=6, the difference (t^w-w^t) = 0 and 0 ^ (any power) = 0.

A is thus the correct answer.

Hope this helps.
avatar
praveen8047
Joined: 30 May 2013
Last visit: 08 Feb 2020
Posts: 21
Own Kudos:
75
 [1]
Given Kudos: 10
GMAT 1: 600 Q50 V21
GMAT 2: 640 Q49 V29
Products:
GMAT 2: 640 Q49 V29
Posts: 21
Kudos: 75
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Dkingdom
praveen8047
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!

Hi Praveen,

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?

Thanks!

Hi DKingdom,
Cyclicity for numbers is calculated as described below, but before that we should know that the cyclicity of all natural numbers is 4. That means after every 4th occurrence, pattern will repeat.
For ex: 3^1 = 3 (Units Digit=3)
3^2 = 9 (U D=9)
3^3 = 27 (U D=7)
3^4 = 81 (U D=1)
3^5 = 243 (U D=3)
3^6 = 729 (U D=9)...... So on.

Here the pattern is 3,9,7,1,3,9,...... Hence we can see that Units Digit repeat after every 4th occurrence. This is true for all the natural numbers
Now, to calculate 3^101 = 3^(100+1) = 3^(4*25 + 1) = 3^1 = 1. Here 101 is broken into 100 + 1 as 100 is closest multiple of 4.

Hence, 103^101 = 3^101 = 3(Units Digit)
101^103 = 1^103 = 1(Units Digit)
Hence, 103^101 - 101^103 = 3-1 =2. Similarly, we can get the vales for other cases also.

Using above method, we can calculate the Units Digit for all the cases. But the question is asking for positive result.
Now, we can use the Rule#2, to discard negative numbers.

I hope, this was helpful.

Thanks!
avatar
zanaik89
Joined: 19 Aug 2016
Last visit: 29 Nov 2019
Posts: 54
Own Kudos:
Given Kudos: 30
Posts: 54
Kudos: 8
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Engr2012
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

Good question to check concepts for cyclicity. This question is a "could be" and not "must be" and thus is tells us that picking 1 set of values for t and w should do the trick. DO note that t>w+1 such that 100< t,w<105.

The only possible sets for (t,w) are (104,102), (103,101) and (104,101). I will take (104,102) as I like to play around with even numbers and because I know 2 and 4 have 4 and 2 as cyclicity.

Taking that into account, n = \((104^{102} - 102^{104})^{102}\)

Treating them separately, units digit of 104^102 will be the same as that for 4^2 = 16 = 6 as the unit's digit.

Similarly, Units digit for 102^104 will be the same as that for 2^4 (as 104 is divisible by 4, cyclicity of 2). 2^4 = 16 and as such the unit's digit will be =6.

Now realize that as both the unit's digits (for 104^102 and 102^104)=6, the difference (t^w-w^t) = 0 and 0 ^ (any power) = 0.

A is thus the correct answer.

Hope this helps.

Excellent explanation!!
User avatar
Madhavi1990
Joined: 15 Jan 2017
Last visit: 15 Jul 2021
Posts: 254
Own Kudos:
93
 [1]
Given Kudos: 931
Posts: 254
Kudos: 93
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Was revisiting this question - I am still now sure why the 101,103 pair is being rejected.
Cyclicity wise, 104,102 makes sense, but a different and positive answer is given by [103^101 - 101^103] ^101

Would be glad to know any explanation on this
User avatar
poorvi125
Joined: 08 Jun 2022
Last visit: 04 Feb 2024
Posts: 39
Own Kudos:
Given Kudos: 592
Posts: 39
Kudos: 7
Kudos
Add Kudos
Bookmarks
Bookmark this Post
I think it is a poor quality question.

Consider t = 103 and w= 101.
Is the unit digit of the equation not 2?

What am I missing here?

Posted from my mobile device
User avatar
rdrdrd1201
Joined: 13 Nov 2019
Last visit: 10 Jun 2024
Posts: 44
Own Kudos:
Given Kudos: 15
GMAT 1: 720 Q49 V38
Products:
GMAT 1: 720 Q49 V38
Posts: 44
Kudos: 11
Kudos
Add Kudos
Bookmarks
Bookmark this Post
poorvi125
I think it is a poor quality question.

Consider t = 103 and w= 101.
Is the unit digit of the equation not 2?

What am I missing here?

Posted from my mobile device

Same with me, anyone can explain why 2 is wrong?
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 19 Nov 2025
Posts: 105,389
Own Kudos:
778,264
 [1]
Given Kudos: 99,977
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 105,389
Kudos: 778,264
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
rdrdrd1201
poorvi125
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

I think it is a poor quality question.

Consider t = 103 and w= 101.
Is the unit digit of the equation not 2?

What am I missing here?

Posted from my mobile device

Same with me, anyone can explain why 2 is wrong?


    If t = 103, and w = 101, then the units digit of \((103^{101} - 101^{103})^{101}\) is 2;

    If t = 104, and w = 101, then the units digit of \((104^{101} - 101^{104})^{101}\) is 3;

    If t = 104, and w = 102, then the units digit of \((104^{102} - 102^{104})^{102}\) is 0.

The thing is, we need such t and w that \(n = (t^w - w^t)^w\) is POSITIVE!!! Check the stem:

    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?\)

Here, both \((103^{101} - 101^{103})^{101}\) (t = 103, and w = 101) and \((104^{101} - 101^{104})^{101}\) (t = 104, and w = 101) are NEGATIVE, so we are left with only t = 104, and w = 102, which gives the units digit of 0.

Hope it's clear.
User avatar
bumpbot
User avatar
Non-Human User
Joined: 09 Sep 2013
Last visit: 04 Jan 2021
Posts: 38,588
Own Kudos:
Posts: 38,588
Kudos: 1,079
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Hello from the GMAT Club BumpBot!

Thanks to another GMAT Club member, I have just discovered this valuable topic, yet it had no discussion for over a year. I am now bumping it up - doing my job. I think you may find it valuable (esp those replies with Kudos).

Want to see all other topics I dig out? Follow me (click follow button on profile). You will receive a summary of all topics I bump in your profile area as well as via email.
Moderators:
Math Expert
105389 posts
Tuck School Moderator
805 posts