Last visit was: 26 Apr 2024, 05:15 It is currently 26 Apr 2024, 05:15

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
Math Expert
Joined: 02 Sep 2009
Posts: 92929
Own Kudos [?]: 619153 [6]
Given Kudos: 81609
Send PM
Manager
Manager
Joined: 21 Feb 2018
Posts: 126
Own Kudos [?]: 125 [0]
Given Kudos: 448
Location: India
Concentration: General Management, Strategy
WE:Consulting (Consulting)
Send PM
Senior Manager
Senior Manager
Joined: 09 Jul 2014
Posts: 371
Own Kudos [?]: 351 [0]
Given Kudos: 346
Location: India
Concentration: General Management, Finance
Schools: ISB '24
Send PM
GMAT Club Legend
GMAT Club Legend
Joined: 18 Aug 2017
Status:You learn more from failure than from success.
Posts: 8020
Own Kudos [?]: 4098 [0]
Given Kudos: 242
Location: India
Concentration: Sustainability, Marketing
GMAT Focus 1:
545 Q79 V79 DI73
GPA: 4
WE:Marketing (Energy and Utilities)
Send PM
Re: HOT Competition 1 Sep/8AM: A locker code consists of five digits, for [#permalink]
total ways to arrange 5 digits is ; 10^5 and given condition that 5 is not followed by let 9
Let 95 be X so total places would be X10_10_10_ ;
we have 4*10^3 ways to put 5 next to 9 and to not put it this way total ways ;
10^5-4*10^3 ;
option A 96,000

A locker code consists of five digits, for example 04391, 23335, 05531... David wants to set his locker code so that digit 5 is not immediately followed by the digit 9. How many such codes are possible?

A. 96,000
B. 96,001
C. 96,002
D. 96,003
E. 96,004

Posted from my mobile device
VP
VP
Joined: 14 Aug 2019
Posts: 1378
Own Kudos [?]: 846 [0]
Given Kudos: 381
Location: Hong Kong
Concentration: Strategy, Marketing
GMAT 1: 650 Q49 V29
GPA: 3.81
Send PM
Re: HOT Competition 1 Sep/8AM: A locker code consists of five digits, for [#permalink]
5 digits can be placed with 10 numebrs ( 0,1,2,...9)
total possible digits = 100000

If 5 is immediately followed after 9 then total digits would be
10 * 10*10 *(9 ) (5)
(9)(5) can be at 1st digit, 2nd ,3rd or 4th
so total values in whih 95 together: 4*1000


without 5 followed after 9
= 10^5- 4000

96000- final answer (A)
Intern
Intern
Joined: 08 Apr 2011
Posts: 17
Own Kudos [?]: 56 [0]
Given Kudos: 14
Send PM
Re: HOT Competition 1 Sep/8AM: A locker code consists of five digits, for [#permalink]
A locker code consists of five digits, for example 04391, 23335, 05531... David wants to set his locker code so that digit 5 is not immediately followed by the digit 9. How many such codes are possible?

A. 96,000
B. 96,001
C. 96,002
D. 96,003
E. 96,004

Since as per stated examples we can deduce that we can repeat the digits in 5 digit locker code

so for 5 position we have 10^5 options or 100,000

Now lets see codes with 95 together
95--- = 10^3
and since we can use 95 to 4 location in 5 digit locker code (95---,-95--,--95-,---95) total number of combination with 95 would be
4*10^3

so total number of locker code with no digit 5 followed by digit 9 =
10^5 - 4*10^3
=10^3(10^2-4)
= 96000

IMO A
Director
Director
Joined: 21 Jun 2017
Posts: 638
Own Kudos [?]: 531 [0]
Given Kudos: 4092
Location: India
Concentration: Finance, Economics
GMAT 1: 660 Q49 V31
GMAT 2: 620 Q47 V30
GMAT 3: 650 Q48 V31
GPA: 3.1
WE:Corporate Finance (Non-Profit and Government)
Send PM
Re: HOT Competition 1 Sep/8AM: A locker code consists of five digits, for [#permalink]
5 digit code = 10^5
That 5 follows 9 we have [(10^3)*1]*4
Subtracting from 10^5. We get A

Posted from my mobile device
Intern
Intern
Joined: 02 Dec 2017
Posts: 6
Own Kudos [?]: 27 [0]
Given Kudos: 81
Send PM
Re: HOT Competition 1 Sep/8AM: A locker code consists of five digits, for [#permalink]
First of all, let's consider the total no: of 5-digit codes that can be formed : P1 P2 P3 P4 P5 are the positions of the code.

P1 can be taken by any of the 10 digits from 0 to 9, since 0 is also allowed in P1.

Similarly P2, P3, P4, & P5 can also be taken by any of the 10 digits, since repetition of digits is allowed.

So, the total no: of 5-digit codes that can be formed is 10x10x10x10x10 = 10^5

Since David wants to set his locker code so that digit 5 is not immediately followed by the digit 9, let's remove all such codes, in which 5 is immediately followed by 9, from the total.

When 5 takes P1 & 9 takes P2, the remaining positions : P3,P4, & P5: can be taken by any of the 10 digits i.e. 10x10x10 = 10^3 codes

Similarly, When 5 takes P2 & 9 takes P3, we get 10 ^ 3 codes

When 5 takes P3 & 9 takes P4, we get 10 ^ 3 codes

When 5 takes P4 & 9 takes P5, we get 10 ^ 3 codes

So, the total no: of codes in which 5 is immediately followed by 9 = 4 * 10^3
= 4000

Since David wants to exclude all such codes : (Total no: of codes) - (no: of codes in which 5 is immediately followed by 9 )

=> 10^5 - 4000

=> 96000

Hence, A is the answer
Senior Manager
Senior Manager
Joined: 07 Jan 2018
Posts: 268
Own Kudos [?]: 265 [0]
Given Kudos: 161
Location: India
GMAT 1: 710 Q49 V38
Send PM
Re: HOT Competition 1 Sep/8AM: A locker code consists of five digits, for [#permalink]
A locker code consists of five digits, for example 04391, 23335, 05531... David wants to set his locker code so that digit 5 is not immediately followed by the digit 9. How many such codes are possible?

A. 96,000
B. 96,001
C. 96,002
D. 96,003
E. 96,004

Total combinations: \(10^5\)
Number of Combinations in which 9 follows 5: \(4* 10^3\)
Required number of combinations: \(10^5 - 4* 10^3\)
96000
Answer A
Intern
Intern
Joined: 23 Jul 2017
Posts: 30
Own Kudos [?]: 50 [0]
Given Kudos: 10
Location: India
Concentration: Technology, Entrepreneurship
GPA: 2.16
WE:Other (Other)
Send PM
Re: HOT Competition 1 Sep/8AM: A locker code consists of five digits, for [#permalink]
Total number of possible combinations = \(10*10*10*10*10 = 10^5\)

Possible combinations for 9 being followed by 5 -
95xxx - \(10*10*10 = 10^3\)
x95xx - \(10*10*10 = 10^3\)
xx95x - \(10*10*10 = 10^3\)
xxx95 - \(10*10*10 = 10^3\)

Total Combinations Possible as per the question = \(10^5 - 4*10^3 = 96000\)

A
Intern
Intern
Joined: 25 Jun 2019
Posts: 2
Own Kudos [?]: 9 [0]
Given Kudos: 38
Send PM
Re: HOT Competition 1 Sep/8AM: A locker code consists of five digits, for [#permalink]
Total possibilities minus possibilities in which 59 are together in same order

Total possibilities are 10^5
Possibilities when 5 and 9 are together are 4C1 * 10^3

Solving we get 96000

Posted from my mobile device
Intern
Intern
Joined: 20 Apr 2015
Posts: 1
Own Kudos [?]: 14 [0]
Given Kudos: 1
Location: India
GPA: 4
Send PM
Re: HOT Competition 1 Sep/8AM: A locker code consists of five digits, for [#permalink]
The total number of possible codes is for a five digit number is - 10^5


9 and 5 should be together - so total number of possible codes is 4×10^3.

Hence answer is 10^5-4×10^3 = 96,000

Posted from my mobile device
Intern
Intern
Joined: 08 Jan 2018
Posts: 18
Own Kudos [?]: 55 [0]
Given Kudos: 54
Location: India
Schools: ISB '23 (I)
GPA: 4
Send PM
Re: HOT Competition 1 Sep/8AM: A locker code consists of five digits, for [#permalink]
_ _ _ _ _
Total possibility = 10^5

(9,5) _ _ _
Possibility = 4C1 *10*10*10 = 4000
Required possibilities = 10^5 - 4000 = 96000
Hence A

Posted from my mobile device
GMAT Club Legend
GMAT Club Legend
Joined: 03 Jun 2019
Posts: 5344
Own Kudos [?]: 3965 [0]
Given Kudos: 160
Location: India
GMAT 1: 690 Q50 V34
WE:Engineering (Transportation)
Send PM
Re: HOT Competition 1 Sep/8AM: A locker code consists of five digits, for [#permalink]
Given: If locker code consists of five digits, for example 04391, 23335, 05531... David wants to set his locker code so that digit 5 is not immediately followed by the digit 9.

Asked: How many such codes are possible?

Total codes consisting of 5 digits =10^5 =100000
Codes consisting of the sequence 59 = 10^3×4=4000
Since there are 10^3 ways to choose remaining 3 digits and 4 ways in which location of 59 may be chosen.

Total codes in which 5 is not immedately followed by 9 = 10000-4900 = 96000

IMO A

Posted from my mobile device
Retired Moderator
Joined: 18 Sep 2014
Posts: 1015
Own Kudos [?]: 2755 [0]
Given Kudos: 79
Location: India
Send PM
Re: HOT Competition 1 Sep/8AM: A locker code consists of five digits, for [#permalink]
Top Contributor
A locker code consists of five digits, for example 04391, 23335, 05531... David wants to set his locker code so that digit 5 is not immediately followed by the digit 9. How many such codes are possible?

since numbers can be repeated all cases will be \(10*10*10*10*10=10^5\)
cases where 5 is followed by 9 will be \(4*10^3=4000\)
\(5,9,10,10,10~10^3\)
\(10,5,9,10,10~10^3\)
\(10,10,5,9,10~10^3\)
\(10,10,10,5,9,~10^3\)

\(10^5-4000=96000\\
\)
Intern
Intern
Joined: 21 Aug 2017
Posts: 39
Own Kudos [?]: 28 [1]
Given Kudos: 142
Send PM
Re: HOT Competition 1 Sep/8AM: A locker code consists of five digits, for [#permalink]
1
Kudos
I am confused with number of cases I am getting in this question. Please help how to solve in a shorter way

Posted from my mobile device
Current Student
Joined: 10 Jul 2019
Posts: 21
Own Kudos [?]: 95 [0]
Given Kudos: 30
Send PM
Re: HOT Competition 1 Sep/8AM: A locker code consists of five digits, for [#permalink]
A locker code consists of five digits, for example 04391, 23335, 05531... David wants to set his locker code so that digit 5 is not immediately followed by the digit 9. How many such codes are possible?

First of all, total number of codes is 10^5
Now we will take [59] as one single number.
[59]XXX it has 1C4 different arrangement, which is 4. The other 3 digits can have 10^3 values
Thus 10^5-4*10^3=10000-4000=9600
The answer is A

Posted from my mobile device
Intern
Intern
Joined: 07 Sep 2019
Posts: 31
Own Kudos [?]: 33 [0]
Given Kudos: 75
Location: India
Schools: Kellogg '23
Send PM
Re: HOT Competition 1 Sep/8AM: A locker code consists of five digits, for [#permalink]
Suppose that 5 follows 9
59_ _ _
_ 59_ _
_ _ 59_
_ _ _59
These will be the possibility that is 10 possible way of writing first _
So 10*10*10=1000*4 for four option ie 4000
Total possiblity is 10*10*10*10*10=100000-4000=96000 possibility

Posted from my mobile device
Intern
Intern
Joined: 02 Jul 2018
Posts: 21
Own Kudos [?]: 43 [0]
Given Kudos: 20
Send PM
Re: HOT Competition 1 Sep/8AM: A locker code consists of five digits, for [#permalink]
A locker code consists of five digits, for example 04391, 23335, 05531... David wants to set his locker code so that digit 5 is not immediately followed by the digit 9. How many such codes are possible?

A. 96,000
B. 96,001
C. 96,002
D. 96,003
E. 96,004

Here we should try to find cases where 5 comes exactly after 9. That will be 4000 such cases. Total sample 100000 possibilities minus 4000 is 96000 possibilities.

So option A is the correct answer.

Posted from my mobile device
Intern
Intern
Joined: 10 Jul 2018
Posts: 25
Own Kudos [?]: 30 [0]
Given Kudos: 75
Send PM
Re: HOT Competition 1 Sep/8AM: A locker code consists of five digits, for [#permalink]
A locker code consists of five digits, for example 04391, 23335, 05531... David wants to set his locker code so that digit 5 is not immediately followed by the digit 9. How many such codes are possible?

A. 96,000
B. 96,001
C. 96,002
D. 96,003
E. 96,004
----
Howdy -- Need to take 10^5 total possibilities and then figure out the number of possibilities that do not fit this. From here, we know that B is the correct answer.
GMAT Club Bot
Re: HOT Competition 1 Sep/8AM: A locker code consists of five digits, for [#permalink]
 1   2   3   4   
Moderators:
Math Expert
92929 posts
Senior Moderator - Masters Forum
3137 posts

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