Last visit was: 24 Apr 2024, 10:03 It is currently 24 Apr 2024, 10:03

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
SORT BY:
Date
User avatar
Manager
Manager
Joined: 04 Apr 2010
Posts: 91
Own Kudos [?]: 608 [146]
Given Kudos: 31
Send PM
Most Helpful Reply
Tutor
Joined: 16 Oct 2010
Posts: 14817
Own Kudos [?]: 64895 [46]
Given Kudos: 426
Location: Pune, India
Send PM
User avatar
Current Student
Joined: 15 Sep 2012
Status:Done with formalities.. and back..
Posts: 525
Own Kudos [?]: 1187 [23]
Given Kudos: 23
Location: India
Concentration: Strategy, General Management
Schools: Olin - Wash U - Class of 2015
WE:Information Technology (Computer Software)
Send PM
General Discussion
Retired Moderator
Joined: 16 Nov 2010
Posts: 909
Own Kudos [?]: 1172 [15]
Given Kudos: 43
Location: United States (IN)
Concentration: Strategy, Technology
Send PM
The function g(x) is defined for integers x such that if x [#permalink]
7
Kudos
8
Bookmarks
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
Intern
Intern
Joined: 01 Dec 2012
Posts: 28
Own Kudos [?]: 110 [6]
Given Kudos: 8
Concentration: Finance, Operations
GPA: 2.9
Send PM
The function g(x) is defined for integers x such that if x [#permalink]
5
Kudos
1
Bookmarks
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
e-GMAT Representative
Joined: 02 Nov 2011
Posts: 4346
Own Kudos [?]: 30781 [14]
Given Kudos: 635
GMAT Date: 08-19-2020
Send PM
Re: The function g(x) is defined for integers x such that if x [#permalink]
11
Kudos
3
Bookmarks
Expert Reply
MOKSH wrote:
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
Manager
Manager
Joined: 04 Oct 2011
Posts: 144
Own Kudos [?]: 141 [0]
Given Kudos: 44
Location: India
Concentration: Entrepreneurship, International Business
GMAT 1: 440 Q33 V13
GPA: 3
Send PM
Re: The function g(x) is defined for integers x such that if x [#permalink]
Vips0000 wrote:
MOKSH wrote:
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
Current Student
Joined: 15 Sep 2012
Status:Done with formalities.. and back..
Posts: 525
Own Kudos [?]: 1187 [8]
Given Kudos: 23
Location: India
Concentration: Strategy, General Management
Schools: Olin - Wash U - Class of 2015
WE:Information Technology (Computer Software)
Send PM
Re: The function g(x) is defined for integers x such that if x [#permalink]
6
Kudos
2
Bookmarks
shanmugamgsn wrote:
Vips0000 wrote:
MOKSH wrote:
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
Manager
Manager
Joined: 11 Mar 2014
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)
Send PM
Re: The function g(x) is defined for integers x such that if x [#permalink]
1
Kudos
VeritasPrepKarishma wrote:
MOKSH wrote:
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).
Tutor
Joined: 16 Oct 2010
Posts: 14817
Own Kudos [?]: 64895 [0]
Given Kudos: 426
Location: Pune, India
Send PM
Re: The function g(x) is defined for integers x such that if x [#permalink]
Expert Reply
RG800 wrote:
VeritasPrepKarishma wrote:
MOKSH wrote:
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
Manager
Manager
Joined: 11 Mar 2014
Posts: 116
Own Kudos [?]: 25 [0]
Given Kudos: 14
Location: India
Concentration: Strategy, Technology
GMAT 1: 760 Q50 V41
GPA: 3.3
WE:Engineering (Other)
Send PM
Re: The function g(x) is defined for integers x such that if x [#permalink]
VeritasPrepKarishma wrote:
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 :(
Tutor
Joined: 16 Oct 2010
Posts: 14817
Own Kudos [?]: 64895 [0]
Given Kudos: 426
Location: Pune, India
Send PM
Re: The function g(x) is defined for integers x such that if x [#permalink]
Expert Reply
RG800 wrote:
VeritasPrepKarishma wrote:
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
Manager
Manager
Joined: 22 Feb 2009
Posts: 109
Own Kudos [?]: 526 [0]
Given Kudos: 148
Send PM
Re: The function g(x) is defined for integers x such that if x [#permalink]
Vips0000 wrote:
MOKSH wrote:
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
Intern
Intern
Joined: 11 Apr 2016
Posts: 29
Own Kudos [?]: 14 [0]
Given Kudos: 15
Location: India
Concentration: Marketing, Technology
WE:Business Development (Computer Software)
Send PM
Re: The function g(x) is defined for integers x such that if x [#permalink]
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
Intern
Intern
Joined: 19 Jul 2018
Posts: 26
Own Kudos [?]: 4 [0]
Given Kudos: 225
Location: India
GMAT 1: 680 Q49 V33
GRE 1: Q162 V167
GPA: 3.7
Send PM
Re: The function g(x) is defined for integers x such that if x [#permalink]
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
Intern
Intern
Joined: 19 Jul 2018
Posts: 26
Own Kudos [?]: 4 [0]
Given Kudos: 225
Location: India
GMAT 1: 680 Q49 V33
GRE 1: Q162 V167
GPA: 3.7
Send PM
The function g(x) is defined for integers x such that if x [#permalink]
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
PM Intern
Joined: 27 Feb 2019
Posts: 223
Own Kudos [?]: 182 [0]
Given Kudos: 197
Location: India
GMAT 1: 720 Q48 V41
Send PM
Re: The function g(x) is defined for integers x such that if x [#permalink]
VeritasKarishma: Only option which is even is 8. Is there a clue there?
I made a guess and marked 8.
Tutor
Joined: 16 Oct 2010
Posts: 14817
Own Kudos [?]: 64895 [0]
Given Kudos: 426
Location: Pune, India
Send PM
Re: The function g(x) is defined for integers x such that if x [#permalink]
Expert Reply
arora1 wrote:
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.
Intern
Intern
Joined: 18 Dec 2020
Posts: 6
Own Kudos [?]: 1 [1]
Given Kudos: 3
Send PM
Re: The function g(x) is defined for integers x such that if x [#permalink]
1
Kudos
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
Non-Human User
Joined: 09 Sep 2013
Posts: 32647
Own Kudos [?]: 821 [0]
Given Kudos: 0
Send PM
Re: The function g(x) is defined for integers x such that if x [#permalink]
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.
GMAT Club Bot
Re: The function g(x) is defined for integers x such that if x [#permalink]
Moderators:
Math Expert
92902 posts
Senior Moderator - Masters Forum
3137 posts

Powered by phpBB © phpBB Group | Emoji artwork provided by EmojiOne