Last visit was: 22 Apr 2026, 06:29 It is currently 22 Apr 2026, 06:29
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: 22 Apr 2026
Posts: 109,741
Own Kudos:
Given Kudos: 105,819
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 109,741
Kudos: 810,568
 [141]
8
Kudos
Add Kudos
133
Bookmarks
Bookmark this Post
Most Helpful Reply
User avatar
AVRonaldo
Joined: 24 Jan 2015
Last visit: 22 Mar 2022
Posts: 56
Own Kudos:
662
 [41]
Given Kudos: 9
GPA: 4
WE:Consulting (Pharmaceuticals and Biotech)
Products:
Posts: 56
Kudos: 662
 [41]
27
Kudos
Add Kudos
13
Bookmarks
Bookmark this Post
User avatar
PrepTap
Joined: 22 Apr 2015
Last visit: 13 Sep 2017
Posts: 60
Own Kudos:
496
 [28]
Given Kudos: 6
Posts: 60
Kudos: 496
 [28]
22
Kudos
Add Kudos
6
Bookmarks
Bookmark this Post
General Discussion
avatar
sudh
Joined: 15 May 2014
Last visit: 18 Jun 2021
Posts: 59
Own Kudos:
156
 [5]
Given Kudos: 11
Posts: 59
Kudos: 156
 [5]
3
Kudos
Add Kudos
2
Bookmarks
Bookmark this Post
\(n\,=\,k^w\,+\,r\)

\(3\)-power remainder of \(27\) is \(0\), since \(27\) = \(3^3\) + \(0\)

\(3\)-power remainder of \(80\) is \(53\), since \(80\) = \(3^3\) + \(53\) ; here remainder \(r\) is largest
\(r\,=\,(81-1)\,-\,27\) ; \(k^w\,=\,27\,\,and\,\,k^{w+1}\,=\,81\)
\(r\,=\,(k^{w+1}-1)\,-\,k^w\)
\(r\,=\,(k^w*k)-1\,-\,k^w\)
\(r\,=\,k^w(k-1)\,-\,1\)

Answer A
User avatar
peachfuzz
Joined: 28 Feb 2014
Last visit: 27 Jan 2018
Posts: 268
Own Kudos:
Given Kudos: 132
Location: United States
Concentration: Strategy, General Management
Products:
Posts: 268
Kudos: 369
Kudos
Add Kudos
Bookmarks
Bookmark this Post
sudh
\(n\,=\,k^w\,+\,r\)

\(3\)-power remainder of \(27\) is \(0\), since \(27\) = \(3^3\) + \(0\)

\(3\)-power remainder of \(80\) is \(53\), since \(80\) = \(3^3\) + \(53\) ; here remainder \(r\) is largest
\(r\,=\,(81-1)\,-\,27\) ; \(k^w\,=\,27\,\,and\,\,k^{w+1}\,=\,81\)
\(r\,=\,(k^{w+1}-1)\,-\,k^w\)
\(r\,=\,(k^w*k)-1\,-\,k^w\)
\(r\,=\,k^w(k-1)\,-\,1\)

Answer A

Where did you get 80 from? How did you know to pick 80?

I am not understanding this question and how we are picking values for k and w.
avatar
sudh
Joined: 15 May 2014
Last visit: 18 Jun 2021
Posts: 59
Own Kudos:
156
 [3]
Given Kudos: 11
Posts: 59
Kudos: 156
 [3]
2
Kudos
Add Kudos
1
Bookmarks
Bookmark this Post
peachfuzz
sudh
\(n\,=\,k^w\,+\,r\)

\(3\)-power remainder of \(27\) is \(0\), since \(27\) = \(3^3\) + \(0\)

\(3\)-power remainder of \(80\) is \(53\), since \(80\) = \(3^3\) + \(53\) ; here remainder \(r\) is largest
\(r\,=\,(81-1)\,-\,27\) ; \(k^w\,=\,27\,\,and\,\,k^{w+1}\,=\,81\)
\(r\,=\,(k^{w+1}-1)\,-\,k^w\)
\(r\,=\,(k^w*k)-1\,-\,k^w\)
\(r\,=\,k^w(k-1)\,-\,1\)

Answer A

Where did you get 80 from? How did you know to pick 80?

I am not understanding this question and how we are picking values for k and w.


Normal method of division:

\(N_{dividend}\) = \(K_{divisor}\)*\(W_{quotient}\) + \(R\); \(0\leq remainder\,<\,divisor\)
i.e. \(27\) = \(3_{divisor}\)*\(9_{quotient}\) + \(0\)
if we want to maximize the remainder with the same quotient and divisor,
then the dividend should be 29, i.e. \(29\) = \(3_{divisor}\)*\(9_{quotient}\) + \(2\); (Note 30/3 gives a remainder 0)

Generalizing the above
27 = 3*9 = K*W
29 = 3*(9+1) - 1 = K*(W+1) - 1
so maximum remainder can be obtained by R = 29 - 27 =K*(W+1) - 1 - K*W = K-1

In the problem above quotient \(W\) is expressed in terms of power, so
\(27\) = \(3^3\)+\(0\) = \(K^W\)+\(R\) ; R = 0
To maximize the remainder increase the quotient by one and minus one from the result,
\(80\) = \(3^3\)+\(53\) = \(K^W\)+\(R\) ; R = 53; 81/3 (\(\frac{3^4}{3}\)) gives remainder of 0

27 = \(3^3\) = \(K^W\)
80 = \(3^{3+1}-1\) = (\(K^{W+1}\)-1)
Remainder 53 = 80 - 27 = (\(K^{W+1}\)-1) - \(K^W\)
= \((K-1)K^W - 1\)
User avatar
PrepTap
Joined: 22 Apr 2015
Last visit: 13 Sep 2017
Posts: 60
Own Kudos:
Given Kudos: 6
Posts: 60
Kudos: 496
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Hi peachfuzz

peachfuzz
I am not understanding this question and how we are picking values for k and w.

We don't need to pick any values of k and w in order to solve this question.
The equation says \(n = k^w + r\), and then asks us to find the largest value of r in terms of k and w.
So we can treat k and w as constant and vary the value of n in order to find the highest r.
This is what I have posted in reply earlier.
Picking values of k and w isn't needed because our final answer for r needs to be in terms of k and w anyway.
For any value of k and w, we can find the highest r.

When you take k and w as 3 and 3, in order to get the highest r, n will have to be k^(w+1) - 1 = 3^4 - 1 = 80, that's all.

Hope that clears your doubt.
User avatar
peachfuzz
Joined: 28 Feb 2014
Last visit: 27 Jan 2018
Posts: 268
Own Kudos:
Given Kudos: 132
Location: United States
Concentration: Strategy, General Management
Products:
Posts: 268
Kudos: 369
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Thanks guys, :-D

Makes all the sense now
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 22 Apr 2026
Posts: 109,741
Own Kudos:
Given Kudos: 105,819
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 109,741
Kudos: 810,568
 [12]
7
Kudos
Add Kudos
5
Bookmarks
Bookmark this Post
Bunuel
For positive integers k and n, the k-power remainder of n is defined as r in the following equation:
n = k^w + r, where w is the largest integer such that r is not negative. For instance, the 3-power remainder of 13 is 4, since 13 = 3^2 + 4. In terms of k and w, what is the largest possible value of r that satisfies the given conditions?

A. (k – 1)k^w – 1
B. k^w – 1
C. (k + 1)k^w – 1
D. k^(w+1) – 1
E. (k + 1)k^(w+1) – 1


Kudos for a correct solution.

MANHATTAN GMAT OFFICIAL SOLUTION:

We are told that n = k^w + r, with a number of conditions on the possible values of the variables (k and n are positive integers, w is an integer, and r is non-negative). An example is given to us:

13 = 3^2 + 4. The question is this: for a given k and w, what is the largest possible value of r?

Let’s keep with the example. The given k and w are 3 and 2, respectively, in the expression 3^2. The question becomes “how big can r get?” At first, it might seem that there’s no cap on the size of r, but if you consider n = 30, for instance, you can write it using a larger power of 3:

30 = 3^2 + 21

30 = 3^3 + 3

So the first equation doesn’t fit the conditions (w has to be the largest integer such that r is not negative).

The tipping point is the next power of 3, namely 3^3 = 27. 27 itself would be written as 3^3 + 0, with r = 0, so the number that gives the largest r for k = 3 and w = 2 must be 26:

26 = 3^2 + 17, giving r = 17.

At this point, we could take a number-testing approach: which answer choice equals 17 when k = 3 and w = 2? After a little computation, we’d find that the answer is (A).

We can also take a more algebraic approach. The maximum r is going to come when n is the integer just below the next power of k above k^w, in other words when n equals k^(w+1) – 1.

Plug this expression for n into the equation:

k^(w+1) – 1 = k^w + r

Now split k^(w+1) into k*k^w:

k*k^w – 1 = k^w + r

Finally, subtract k^w from both sides:

(k – 1)(k^w) – 1 = r

The left side matches the expression in choice (A).

The correct answer is A.
User avatar
vipulgoel
Joined: 03 May 2013
Last visit: 09 Oct 2025
Posts: 89
Own Kudos:
Given Kudos: 114
Location: India
Kudos
Add Kudos
Bookmarks
Bookmark this Post
alt approach,Bunuel plz let me know if it flawed

in order to get max = r either put (n=8 , r=5,k=3,w=1) or (n=26, r=17, k=3,w=2) or (n=24, r=19,k=5,w=1)
only A will give the desired result

I am taking first case (n=8 , r=5,k=3,w=1) , you can take any case
A. (k – 1)k^w – 1 2.3-1=5 yes
B. k^w – 1 3-1 = 2 NO
C. (k + 1)k^w – 1 4.3-1 no
D. k^(w+1) – 1 3^2-1 no
E. (k + 1)k^(w+1) – 1 4.3^2-1 no
avatar
Lorenzo3688
Joined: 27 Dec 2015
Last visit: 12 Aug 2019
Posts: 9
Own Kudos:
Given Kudos: 20
Concentration: Accounting, Economics
Schools: AGSM '18
GPA: 3.02
WE:Analyst (Accounting)
Schools: AGSM '18
Posts: 9
Kudos: 1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
n=kw+rn=kw+r

33-power remainder of 2727 is 00, since 2727 = 3333 + 00

33-power remainder of 8080 is 5353, since 8080 = 3333 + 5353 ; here remainder rr is largest
r=(81−1)−27r=(81−1)−27 ; kw=27andkw+1=81kw=27andkw+1=81
r=(kw+1−1)−kwr=(kw+1−1)−kw
r=(kw∗k)−1−kwr=(kw∗k)−1−kw
r=kw(k−1)−1
avatar
msali1983
Joined: 11 Feb 2019
Last visit: 05 Sep 2022
Posts: 7
Own Kudos:
19
 [1]
Given Kudos: 62
GMAT 1: 570 Q44 V28
GMAT 2: 640 Q49 V28
GMAT 2: 640 Q49 V28
Posts: 7
Kudos: 19
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Let the number be n= k^w+r
For r to be greatest and non negative is possible if we add 1 to the number and the new number becomes n'= k^(w+1) ie the r is zero .

Hence k^w+r+1= k^(w+1)
On further calculation we get the Answer -A.
User avatar
suu007
Joined: 07 Apr 2022
Last visit: 22 Apr 2026
Posts: 5
Given Kudos: 168
Products:
Posts: 5
Kudos: 0
Kudos
Add Kudos
Bookmarks
Bookmark this Post
equation is n=k^w+r . In order to solve it quickly , take any constant value of k and w .
It can be 2^2 or 3^3 or ....
Let's take 2^2 for our understanding.
r will be minimum when value is 0. So the equation can be written as -
4=2^2+0
r will be maximum when value is= 2^2 -1= 3. So the equation can be written as-
7=2^2+3
so,
maximum value (3)= 7 - 2^2
= (2^3 -1) -2^2
r= k^(w+1) -1 -k^w
r= (k–1)k^w–1.....(A)
User avatar
naA2025
Joined: 02 Nov 2024
Last visit: 13 Dec 2025
Posts: 4
Own Kudos:
1
 [1]
Given Kudos: 39
Location: India
Posts: 4
Kudos: 1
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
n=k^w+r
k^w<n<k^(w+1)
0<n-k^w<k^(w+1)-k^w
0<r<(k-1)k^w
Therefore, r (max)=(k-1)k^w-1
User avatar
MeghaYadav01
Joined: 05 Mar 2024
Last visit: 13 Feb 2025
Posts: 6
Own Kudos:
Given Kudos: 3
Posts: 6
Kudos: 1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Can a question like this actually come in the exam
User avatar
bumpbot
User avatar
Non-Human User
Joined: 09 Sep 2013
Last visit: 04 Jan 2021
Posts: 38,962
Own Kudos:
Posts: 38,962
Kudos: 1,117
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Automated notice from GMAT Club BumpBot:

A member just gave Kudos to this thread, showing it’s still useful. I’ve bumped it to the top so more people can benefit. Feel free to add your own questions or solutions.

This post was generated automatically.
Moderators:
Math Expert
109741 posts
Tuck School Moderator
853 posts