Last visit was: 19 Nov 2025, 15:50 It is currently 19 Nov 2025, 15:50
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
bhandariavi
Joined: 04 Apr 2010
Last visit: 14 Mar 2012
Posts: 89
Own Kudos:
692
 [175]
Given Kudos: 31
Posts: 89
Kudos: 692
 [175]
20
Kudos
Add Kudos
154
Bookmarks
Bookmark this Post
Most Helpful Reply
User avatar
KarishmaB
Joined: 16 Oct 2010
Last visit: 19 Nov 2025
Posts: 16,267
Own Kudos:
77,001
 [49]
Given Kudos: 482
Location: Pune, India
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 16,267
Kudos: 77,001
 [49]
26
Kudos
Add Kudos
22
Bookmarks
Bookmark this Post
User avatar
Vips0000
User avatar
Current Student
Joined: 15 Sep 2012
Last visit: 02 Feb 2016
Posts: 521
Own Kudos:
1,291
 [25]
Given Kudos: 23
Status:Done with formalities.. and back..
Location: India
Concentration: Strategy, General Management
Schools: Olin - Wash U - Class of 2015
WE:Information Technology (Computer Software)
Products:
Schools: Olin - Wash U - Class of 2015
Posts: 521
Kudos: 1,291
 [25]
15
Kudos
Add Kudos
10
Bookmarks
Bookmark this Post
General Discussion
User avatar
subhashghosh
User avatar
Retired Moderator
Joined: 16 Nov 2010
Last visit: 25 Jun 2024
Posts: 896
Own Kudos:
1,279
 [15]
Given Kudos: 43
Location: United States (IN)
Concentration: Strategy, Technology
Products:
Posts: 896
Kudos: 1,279
 [15]
7
Kudos
Add Kudos
8
Bookmarks
Bookmark this Post
g(g(g(g(g(x))))) = 19

=> g(g(g(g(x)))) is even = 38 (if it were odd, the output is even)



now g(g(g(x))) can be 76 or 33

g(g(x)) can be 152, 71 or 66

g(x) can be 304, 147, 142, 132 or 61

x can be 608,299,294,284,137, 127, 264, 132

So total 8 values, hence the answer is D
User avatar
MOKSH
Joined: 01 Dec 2012
Last visit: 21 Sep 2019
Posts: 28
Own Kudos:
122
 [6]
Given Kudos: 8
Concentration: Finance, Operations
GPA: 2.9
Products:
5
Kudos
Add Kudos
1
Bookmarks
Bookmark this Post
The function g(x) is defined for integers x such that if x is even, g(x) = x/2 and if x is odd, g(x) = x + 5. Given that g(g(g(g(g(x))))) = 19, how many possible values for x would satisfy this equation?

A. 1
B. 5
C. 7
D. 8
E. 11
User avatar
egmat
User avatar
e-GMAT Representative
Joined: 02 Nov 2011
Last visit: 19 Nov 2025
Posts: 5,108
Own Kudos:
32,887
 [16]
Given Kudos: 700
GMAT Date: 08-19-2020
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 5,108
Kudos: 32,887
 [16]
12
Kudos
Add Kudos
4
Bookmarks
Bookmark this Post
MOKSH
The function g(x) is defined for integers x such that if x is even, g(x) = x/2 and if x is odd, g(x) = x + 5. Given that g(g(g(g(g(x))))) = 19, how many possible values for x would satisfy this equation?
a)1 b)5 ,c)7 ,d)8 ,e)11

Hope this image helps you clarify these possible 8 set of values of x.



-Shalabh Jain
User avatar
shanmugamgsn
Joined: 04 Oct 2011
Last visit: 31 Dec 2014
Posts: 141
Own Kudos:
Given Kudos: 44
Location: India
Concentration: Entrepreneurship, International Business
GMAT 1: 440 Q33 V13
GPA: 3
GMAT 1: 440 Q33 V13
Posts: 141
Kudos: 159
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Vips0000
MOKSH
The function g(x) is defined for integers x such that if x is even, g(x) = x/2 and if x is odd, g(x) = x + 5. Given that g(g(g(g(g(x))))) = 19, how many possible values for x would satisfy this equation?
a)1 b)5 ,c)7 ,d)8 ,e)11

Wow, more like a mathmatical puzzle than a gmat question. I love it!

Let me define terms:
in g(x) = R
x is argument, R is result, g() is function,
in g(g(g(g(g(x))))), g1 is inner most, g5 is outermost for identification.

From definition of function g, we can deduce that:
If Result is even then two possibilities for argument = 1 Even 1 Odd
If Result is odd then one possibility for argument = 1 Even

Since final result = 19 = Odd

Possibilities:
g1: 1 Even
g2: 1*(Even,Odd ) = 1 Even 1 Odd
g3: 1*(Even,Odd) + 1 Even = 2 Even 1 Odd
g4: 2*(Even, Odd) + 1 Even = 3 Even 2 Odd
g5: 3*(Even, Odd) + 2 Even = 5 Even 3 Odd = Total 8

Ans D it is!

Vips im totally lost in this... can u explain!!!
how u started g1 with even? based on answer choices?
if so how come u calculated g2?
User avatar
Vips0000
User avatar
Current Student
Joined: 15 Sep 2012
Last visit: 02 Feb 2016
Posts: 521
Own Kudos:
1,291
 [8]
Given Kudos: 23
Status:Done with formalities.. and back..
Location: India
Concentration: Strategy, General Management
Schools: Olin - Wash U - Class of 2015
WE:Information Technology (Computer Software)
Products:
Schools: Olin - Wash U - Class of 2015
Posts: 521
Kudos: 1,291
 [8]
6
Kudos
Add Kudos
2
Bookmarks
Bookmark this Post
shanmugamgsn
Vips0000
MOKSH
The function g(x) is defined for integers x such that if x is even, g(x) = x/2 and if x is odd, g(x) = x + 5. Given that g(g(g(g(g(x))))) = 19, how many possible values for x would satisfy this equation?
a)1 b)5 ,c)7 ,d)8 ,e)11

Wow, more like a mathmatical puzzle than a gmat question. I love it!

Let me define terms:
in g(x) = R
x is argument, R is result, g() is function,
in g(g(g(g(g(x))))), g1 is inner most, g5 is outermost for identification.

From definition of function g, we can deduce that:
If Result is even then two possibilities for argument = 1 Even 1 Odd
If Result is odd then one possibility for argument = 1 Even

Since final result = 19 = Odd

Possibilities:
g1: 1 Even
g2: 1*(Even,Odd ) = 1 Even 1 Odd
g3: 1*(Even,Odd) + 1 Even = 2 Even 1 Odd
g4: 2*(Even, Odd) + 1 Even = 3 Even 2 Odd
g5: 3*(Even, Odd) + 2 Even = 5 Even 3 Odd = Total 8

Ans D it is!

Vips im totally lost in this... can u explain!!!
how u started g1 with even? based on answer choices?
if so how come u calculated g2?

ha ha.. the explanation was this:
If Result is even then two possibilities for argument = 1 Even 1 Odd
If Result is odd then one possibility for argument = 1 Even

Anyway, to start from scratch:
how u started g1 with even? based on answer choices?
question says,
g(x) = x/2 , if x is even=> Observation: if x is even, result is even/2 which could be odd or even.
g(x) = x+5, if x is odd => Observation: if x is odd, result is always even. (odd number+5= even number)

Another way to get there :

We know final result is 19. that is:
g(something) =19
Now what is this something? it could be 38 giving 19 when divided by 2. Or it could be 14 when 5 is added.
However, it can not be 14 because 14 is even and g(14) will be 7 not 19 by the definition of g(x). So there is only possiblity 38.
So if result is odd, then argument must have been even.

Therefore for argument of g1, you start with Even since the result is odd (19).

if so how come u calculated g2
Lets again see, we found out that argument of g1 was even. Now this even could have been result of another even number or an odd number. Let see the example:
taking forward previous values. We found above that argument for g1 is 38.
now, argument for g2? we know that g2(something) =38
What is this something? it could be 76, which gives 38 when divided by 2. Or it could be 33 which gives 38 when 5 is added. Both of these values are possible as per g(x) definition.

It can not be a gmat question. but its good fun.

to summarize, try to understand these lines:
If Result is even then two possibilities for argument = 1 Even 1 Odd
If Result is odd then one possibility for argument = 1 Even
User avatar
RG800
Joined: 11 Mar 2014
Last visit: 30 Jan 2016
Posts: 116
Own Kudos:
25
 [1]
Given Kudos: 14
Location: India
Concentration: Strategy, Technology
GMAT 1: 760 Q50 V41
GPA: 3.3
WE:Engineering (Other)
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
VeritasPrepKarishma
MOKSH
The function g(x) is defined for integers x such that if x is even, g(x) = x/2 and if x is odd, g(x) = x + 5. Given that g(g(g(g(g(x))))) = 19, how many possible values for x would satisfy this equation?

A. 1
B. 5
C. 7
D. 8
E. 11

Notice that when x is odd, g(x) = x + 5 (Recall that Odd + Odd = Even)
This means g(x) becomes even when x is odd. So if g(x) is odd, x MUST have been even.

Since g(g(g(g(g(x))))) = 19, we can say that g(g(g(g(x)))) must be even i.e. 19*2 = 38

Since g(g(g(g(x)))) = 38, g(g(g(x))) can be either even or odd so it can take 2 values: 38*2 = 76 or 38 - 5 = 33

If g(g(g(x))) = 76 g(g(x)) can again take two values - one even and one odd
If g(g(g(x))) = 33, g(g(x)) MUST be even 33*2 = 66.

So g(g(x)) can take 3 values: 2 even and one odd.

Notice that every even value gives you 2 values of the inner expression - one even and one odd - and every odd value gives you only one even value of the inner expression.

Then g(x) can take 5 different values - 3 even and 2 odd
Then x can take 8 different values - 5 even and 3 odd

An example of pattern recognition.

Karishma,

Your method is incorrect (though the answer is correct). You forgot that in such questions, there may be overlapping answers.
The only way to solve this is to find all possible values of x.
Solving step by step gives x = 122 or 127 or 264 or 294 or 608 or 299 or 284 or 137.
Hence (D).
User avatar
KarishmaB
Joined: 16 Oct 2010
Last visit: 19 Nov 2025
Posts: 16,267
Own Kudos:
Given Kudos: 482
Location: Pune, India
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 16,267
Kudos: 77,001
Kudos
Add Kudos
Bookmarks
Bookmark this Post
RG800
VeritasPrepKarishma
MOKSH
The function g(x) is defined for integers x such that if x is even, g(x) = x/2 and if x is odd, g(x) = x + 5. Given that g(g(g(g(g(x))))) = 19, how many possible values for x would satisfy this equation?

A. 1
B. 5
C. 7
D. 8
E. 11

Notice that when x is odd, g(x) = x + 5 (Recall that Odd + Odd = Even)
This means g(x) becomes even when x is odd. So if g(x) is odd, x MUST have been even.

Since g(g(g(g(g(x))))) = 19, we can say that g(g(g(g(x)))) must be even i.e. 19*2 = 38

Since g(g(g(g(x)))) = 38, g(g(g(x))) can be either even or odd so it can take 2 values: 38*2 = 76 or 38 - 5 = 33

If g(g(g(x))) = 76 g(g(x)) can again take two values - one even and one odd
If g(g(g(x))) = 33, g(g(x)) MUST be even 33*2 = 66.

So g(g(x)) can take 3 values: 2 even and one odd.

Notice that every even value gives you 2 values of the inner expression - one even and one odd - and every odd value gives you only one even value of the inner expression.

Then g(x) can take 5 different values - 3 even and 2 odd
Then x can take 8 different values - 5 even and 3 odd

An example of pattern recognition.

Karishma,

Your method is incorrect (though the answer is correct). You forgot that in such questions, there may be overlapping answers.
The only way to solve this is to find all possible values of x.
Solving step by step gives x = 122 or 127 or 264 or 294 or 608 or 299 or 284 or 137.
Hence (D).

You are starting with 19 and performing 2 operations on it (*2 or -5) in different number and different order. Each chain of operations will give you a different result. You don't have to do it to find that out.
User avatar
RG800
Joined: 11 Mar 2014
Last visit: 30 Jan 2016
Posts: 116
Own Kudos:
Given Kudos: 14
Location: India
Concentration: Strategy, Technology
GMAT 1: 760 Q50 V41
GPA: 3.3
WE:Engineering (Other)
Kudos
Add Kudos
Bookmarks
Bookmark this Post
VeritasPrepKarishma

You are starting with 19 and performing 2 operations on it (*2 or -5) in different number and different order. Each chain of operations will give you a different result. You don't have to do it to find that out.


Why can't the *2 of one number be equal to the -5 of another? I don't get it :(
User avatar
KarishmaB
Joined: 16 Oct 2010
Last visit: 19 Nov 2025
Posts: 16,267
Own Kudos:
Given Kudos: 482
Location: Pune, India
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 16,267
Kudos: 77,001
Kudos
Add Kudos
Bookmarks
Bookmark this Post
RG800
VeritasPrepKarishma

You are starting with 19 and performing 2 operations on it (*2 or -5) in different number and different order. Each chain of operations will give you a different result. You don't have to do it to find that out.


Why can't the *2 of one number be equal to the -5 of another? I don't get it :(

You are starting with the same number 19.
Think about it: if you multiply 19 by 2 four times and subtract 5 once, can it be equal to if you multiply by 2 three times and subtract 5 twice?
Similarly, if you multiply by 2 four times and then subtract 5 once, can it be equal to if you subtract 5 once and then multiply by 2 four times.
The sequence in which operations are applied on a number change the number.
User avatar
vad3tha
Joined: 22 Feb 2009
Last visit: 15 Dec 2023
Posts: 107
Own Kudos:
Given Kudos: 148
Posts: 107
Kudos: 575
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Vips0000
MOKSH
The function g(x) is defined for integers x such that if x is even, g(x) = x/2 and if x is odd, g(x) = x + 5. Given that g(g(g(g(g(x))))) = 19, how many possible values for x would satisfy this equation?
a)1 b)5 ,c)7 ,d)8 ,e)11

Wow, more like a mathmatical puzzle than a gmat question. I love it!

Let me define terms:
in g(x) = R
x is argument, R is result, g() is function,
in g(g(g(g(g(x))))), g1 is inner most, g5 is outermost for identification.

From definition of function g, we can deduce that:
If Result is even then two possibilities for argument = 1 Even 1 Odd
If Result is odd then one possibility for argument = 1 Even

Since final result = 19 = Odd

Possibilities:
g1: 1 Even
g2: 1*(Even,Odd ) = 1 Even 1 Odd
g3: 1*(Even,Odd) + 1 Even = 2 Even 1 Odd
g4: 2*(Even, Odd) + 1 Even = 3 Even 2 Odd
g5: 3*(Even, Odd) + 2 Even = 5 Even 3 Odd = Total 8

Ans D it is!

I like your answer, but g1 should be g5, g2 should be g4, .... g5 should g1 in the possibilities section. Let me know If I am wrong
User avatar
varunjoshi31
Joined: 11 Apr 2016
Last visit: 03 Nov 2017
Posts: 29
Own Kudos:
Given Kudos: 15
Location: India
Concentration: Marketing, Technology
WE:Business Development (Computer Software)
Products:
Posts: 29
Kudos: 16
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Best approach is to start with 19 and create a tree of possible values till 5 layers and eliminate options between even and odd.


Layer 1
19- 38 or 24

Layer 2
38 - 76 or 33
24 - 48 or 19

Layer 3
76 - 152 or 71
33 - 66 or 28
48 - 28 or 43
19 - 38 or 14(Eliminate 14 since it cannot be even number)

Layer 4 & Layer 5 keep on solving and eliminate based on even or odd number possibility. Final answer is 8 possible values
avatar
puneetb
Joined: 19 Jul 2018
Last visit: 25 May 2021
Posts: 25
Own Kudos:
Given Kudos: 225
Location: India
GMAT 1: 680 Q49 V33
GRE 1: Q162 V167
GPA: 3.7
GMAT 1: 680 Q49 V33
GRE 1: Q162 V167
Posts: 25
Kudos: 4
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Even G can generate 1 Odd and One Even Inner expression (x)
and Odd G can only generate 1 Even Inner Expression (x)

My Answer: 8
avatar
puneetb
Joined: 19 Jul 2018
Last visit: 25 May 2021
Posts: 25
Own Kudos:
Given Kudos: 225
Location: India
GMAT 1: 680 Q49 V33
GRE 1: Q162 V167
GPA: 3.7
GMAT 1: 680 Q49 V33
GRE 1: Q162 V167
Posts: 25
Kudos: 4
Kudos
Add Kudos
Bookmarks
Bookmark this Post
https://photos.app.goo.gl/L4gEV8RtxvVWqi9T9
Even G can generate 1 Odd and One Even Inner expression (x)
and Odd G can only generate 1 Even Inner Expression (x)

My Answer: 8
User avatar
arora1
User avatar
PM Intern
Joined: 27 Feb 2019
Last visit: 27 Dec 2024
Posts: 216
Own Kudos:
Given Kudos: 197
Location: India
GMAT 1: 720 Q48 V41
GMAT 1: 720 Q48 V41
Posts: 216
Kudos: 192
Kudos
Add Kudos
Bookmarks
Bookmark this Post
VeritasKarishma: Only option which is even is 8. Is there a clue there?
I made a guess and marked 8.
User avatar
KarishmaB
Joined: 16 Oct 2010
Last visit: 19 Nov 2025
Posts: 16,267
Own Kudos:
Given Kudos: 482
Location: Pune, India
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 16,267
Kudos: 77,001
Kudos
Add Kudos
Bookmarks
Bookmark this Post
arora1
VeritasKarishma: Only option which is even is 8. Is there a clue there?
I made a guess and marked 8.

No, you just got lucky. If there were one less g, the number of values would be 5.
avatar
AdityaVerma21
Joined: 18 Dec 2020
Last visit: 26 Sep 2021
Posts: 5
Own Kudos:
2
 [1]
Given Kudos: 3
Posts: 5
Kudos: 2
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
g(g(g(g(g(x)))))=19
g(g(g(g(x))))=38
g(g(g(x)))=76,33
g(g(x))=152,71,66
g(x)=304,147,142,132,61
x=608,299,294,284,137,264,127,122
User avatar
HarshavardhanR
Joined: 16 Mar 2023
Last visit: 19 Nov 2025
Posts: 426
Own Kudos:
461
 [1]
Given Kudos: 59
Status:Independent GMAT Tutor
Affiliations: Ex - Director, Subject Matter Expertise at e-GMAT
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 426
Kudos: 461
 [1]
Kudos
Add Kudos
1
Bookmarks
Bookmark this Post
­
___
Harsha
Enthu about all things GMAT | Exploring the GMAT space | My website: gmatanchor.com
Attachment:
GMAT-Club-Forum-tz99nqw4.png
GMAT-Club-Forum-tz99nqw4.png [ 317.5 KiB | Viewed 1446 times ]
 1   2   
Moderators:
Math Expert
105390 posts
Tuck School Moderator
805 posts