Check GMAT Club Decision Tracker for the Latest School Decision Releases https://gmatclub.com/AppTrack

 It is currently 25 May 2017, 17:56

### 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

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

# Events & Promotions

###### Events & Promotions in June
Open Detailed Calendar

# For a certain alarm system, each code is comprised of 5 digi

Author Message
TAGS:

### Hide Tags

Intern
Joined: 08 Nov 2009
Posts: 31
Location: United States (AK)
Concentration: Marketing, Entrepreneurship
GMAT 1: 720 Q49 V39
GPA: 3.4
WE: Engineering (Health Care)
Followers: 5

Kudos [?]: 74 [0], given: 9

For a certain alarm system, each code is comprised of 5 digi [#permalink]

### Show Tags

18 Oct 2010, 10:35
13
This post was
BOOKMARKED
00:00

Difficulty:

95% (hard)

Question Stats:

32% (03:29) correct 68% (02:29) wrong based on 154 sessions

### HideShow timer Statistics

For a certain alarm system, each code is comprised of 5 digits, but no digit can be used more than twice. How many codes can be made?

A. 30,240
B. 60,480
C. 91,440
D. 98,240
E. 101,040
[Reveal] Spoiler: OA

Last edited by Bunuel on 26 Sep 2013, 00:58, edited 1 time in total.
Renamed the topic and edited the question.
Intern
Joined: 11 Aug 2010
Posts: 5
Followers: 0

Kudos [?]: 1 [0], given: 0

### Show Tags

18 Oct 2010, 10:58
3 Possibilities

a. All 5 Distinct
No. of orderings = 10C5 x 5!

b. 3 distinct, 2 of one kind
No. of orderings = 10C3 X 7C1 X (5!/2!)

c. 2 of type1, 2 of type2, and a remaining solo
No. of orderings = 10C2 X 8C1 X (5!/2!.2!)

Sum up a,b,c to get the required answer.

Is there a less tedious way to do this ?
Intern
Joined: 08 Nov 2009
Posts: 31
Location: United States (AK)
Concentration: Marketing, Entrepreneurship
GMAT 1: 720 Q49 V39
GPA: 3.4
WE: Engineering (Health Care)
Followers: 5

Kudos [?]: 74 [0], given: 9

### Show Tags

18 Oct 2010, 11:27
hi abhishekj2512,

I have already tried this way and although it seems right, it doesn't give the right answer.
See below:

a. All 5 Distinct = 10C5 x 5! = 30240

b. 3 distinct, 2 of one kind = 10C3 X 7C1 X (5!/2!) = 8400

c. 2 of type1, 2 of type2, and a remaining solo = 10800

10800+8400+30240 = 49400

Another way that I considered was to calculate the complementary set:
10^5 - all possible codes, and deduct the number of ways to comprise a code with a digit that repeats 3 times, 4 times and 5 times. (It didn't work as well).
Intern
Joined: 11 Aug 2010
Posts: 5
Followers: 0

Kudos [?]: 1 [1] , given: 0

### Show Tags

18 Oct 2010, 11:40
1
KUDOS
Quote:
b. 3 distinct, 2 of one kind = 10C3 X 7C1 X (5!/2!) = 8400

Seems like some error at your end, this comes out as 50,400
Using this, answer does come out correctly.

In this case, the forward and backward approach would involve same number of calculations.
Intern
Joined: 08 Nov 2009
Posts: 31
Location: United States (AK)
Concentration: Marketing, Entrepreneurship
GMAT 1: 720 Q49 V39
GPA: 3.4
WE: Engineering (Health Care)
Followers: 5

Kudos [?]: 74 [0], given: 9

### Show Tags

18 Oct 2010, 12:35
you are right. I miscalculated the multiple factorial.

Thanks.
Intern
Joined: 01 Sep 2010
Posts: 44
Followers: 1

Kudos [?]: 0 [0], given: 0

### Show Tags

19 Oct 2010, 05:46
Sorry but I don't understand your answer. According to the question, no digit can be used more than twice. Then shall the answer be 10C5 = 30,240???
Veritas Prep GMAT Instructor
Joined: 16 Oct 2010
Posts: 7374
Location: Pune, India
Followers: 2288

Kudos [?]: 15111 [5] , given: 224

### Show Tags

19 Oct 2010, 08:32
5
KUDOS
Expert's post
4
This post was
BOOKMARKED
phamduyha: The question says 'no digit should be used more than twice' which means that a digit can be used at most 2 times. So you have to take 3 cases:

Case 1: All digits distinct
Select 5 digits out of 10 in 10C5 ways and arrange them in 5! ways which gives us 10C5x5! = 30240

Case 2: Two digits are same, other 3 are dictinct e.g. 45722
Select a digit which is to be repeated in 10C1 ways, select other 3 digits in 9C3 ways and arrange them in 5!/2! ways to get 10C1 x 9C3 x 5!/2! = 50400 ways

Case 3: Two digits repeated and one other digit e.g. 33448
Select 2 digits to be repeated in 10C2 ways, select the single digit in 8C1 ways and arrange them all in 5!/2!.2! ways to get 10C2 x 8C1 x 5!/2!.2! = 10800

Sum of all = 30240 + 50400 + 10800 = 91440 ways

Generally, actual GMAT questions will not be calculation intensive since you are required to solve them in under 2 mins.
_________________

Karishma
Veritas Prep | GMAT Instructor
My Blog

Get started with Veritas Prep GMAT On Demand for $199 Veritas Prep Reviews GMAT Club Legend Joined: 09 Sep 2013 Posts: 15446 Followers: 649 Kudos [?]: 209 [1] , given: 0 Re: digit codes combination [#permalink] ### Show Tags 25 Sep 2013, 23:51 1 This post received KUDOS 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. _________________ Manager Joined: 13 Oct 2013 Posts: 136 Concentration: Strategy, Entrepreneurship Followers: 2 Kudos [?]: 47 [0], given: 125 Re: digit codes combination [#permalink] ### Show Tags 01 Jun 2014, 09:21 can someone help me here? I do not understand why we are multiplying 5! here? Select 5 digits out of 10 in 10C5 ways and arrange them in 5! ways which gives us 10C5x5! = 30240 i thought selecting 5 digits out of 10 would be just 10C5 .Am i missing anything? VeritasPrepKarishma wrote: phamduyha: The question says 'no digit should be used more than twice' which means that a digit can be used at most 2 times. So you have to take 3 cases: Case 1: All digits distinct Select 5 digits out of 10 in 10C5 ways and arrange them in 5! ways which gives us 10C5x5! = 30240 Case 2: Two digits are same, other 3 are dictinct e.g. 45722 Select a digit which is to be repeated in 10C1 ways, select other 3 digits in 9C3 ways and arrange them in 5!/2! ways to get 10C1 x 9C3 x 5!/2! = 50400 ways Case 3: Two digits repeated and one other digit e.g. 33448 Select 2 digits to be repeated in 10C2 ways, select the single digit in 8C1 ways and arrange them all in 5!/2!.2! ways to get 10C2 x 8C1 x 5!/2!.2! = 10800 Sum of all = 30240 + 50400 + 10800 = 91440 ways Generally, actual GMAT questions will not be calculation intensive since you are required to solve them in under 2 mins. _________________ --------------------------------------------------------------------------------------------- Kindly press +1 Kudos if my post helped you in any way Math Expert Joined: 02 Sep 2009 Posts: 38889 Followers: 7735 Kudos [?]: 106137 [0], given: 11607 For a certain alarm system, each code is comprised of 5 digi [#permalink] ### Show Tags 01 Jun 2014, 09:47 Expert's post 1 This post was BOOKMARKED sunita123 wrote: can someone help me here? I do not understand why we are multiplying 5! here? Select 5 digits out of 10 in 10C5 ways and arrange them in 5! ways which gives us 10C5x5! = 30240 i thought selecting 5 digits out of 10 would be just 10C5 .Am i missing anything? VeritasPrepKarishma wrote: phamduyha: The question says 'no digit should be used more than twice' which means that a digit can be used at most 2 times. So you have to take 3 cases: Case 1: All digits distinct Select 5 digits out of 10 in 10C5 ways and arrange them in 5! ways which gives us 10C5x5! = 30240 Case 2: Two digits are same, other 3 are dictinct e.g. 45722 Select a digit which is to be repeated in 10C1 ways, select other 3 digits in 9C3 ways and arrange them in 5!/2! ways to get 10C1 x 9C3 x 5!/2! = 50400 ways Case 3: Two digits repeated and one other digit e.g. 33448 Select 2 digits to be repeated in 10C2 ways, select the single digit in 8C1 ways and arrange them all in 5!/2!.2! ways to get 10C2 x 8C1 x 5!/2!.2! = 10800 Sum of all = 30240 + 50400 + 10800 = 91440 ways Generally, actual GMAT questions will not be calculation intensive since you are required to solve them in under 2 mins. Yes, the number of way to select 5 digits out of 10 is 10C5. But these 5 digits can be arranged in 5!=120 ways, each of which gives different code. Hence the number of codes for this case is 10C5*5!. One could also do 10P5 (which is basically the same as 10C5*5!): selecting 5 digits out of 10, when the order of the selection matters. Hope it's clear. _________________ Manager Joined: 13 Oct 2013 Posts: 136 Concentration: Strategy, Entrepreneurship Followers: 2 Kudos [?]: 47 [0], given: 125 Re: digit codes combination [#permalink] ### Show Tags 01 Jun 2014, 10:02 oh yess:). Thanks Bunuel. Bunuel wrote: sunita123 wrote: can someone help me here? I do not understand why we are multiplying 5! here? Select 5 digits out of 10 in 10C5 ways and arrange them in 5! ways which gives us 10C5x5! = 30240 i thought selecting 5 digits out of 10 would be just 10C5 .Am i missing anything? VeritasPrepKarishma wrote: phamduyha: The question says 'no digit should be used more than twice' which means that a digit can be used at most 2 times. So you have to take 3 cases: Case 1: All digits distinct Select 5 digits out of 10 in 10C5 ways and arrange them in 5! ways which gives us 10C5x5! = 30240 Case 2: Two digits are same, other 3 are dictinct e.g. 45722 Select a digit which is to be repeated in 10C1 ways, select other 3 digits in 9C3 ways and arrange them in 5!/2! ways to get 10C1 x 9C3 x 5!/2! = 50400 ways Case 3: Two digits repeated and one other digit e.g. 33448 Select 2 digits to be repeated in 10C2 ways, select the single digit in 8C1 ways and arrange them all in 5!/2!.2! ways to get 10C2 x 8C1 x 5!/2!.2! = 10800 Sum of all = 30240 + 50400 + 10800 = 91440 ways Generally, actual GMAT questions will not be calculation intensive since you are required to solve them in under 2 mins. Yes, the number of way to select 5 digits out of 10 is 10C5. But these 5 digits can be arranged in 5!=120 ways, each of which gives different code. Hecen the number of codes for this case is 10C5*5!. One could also do 10P5 (which is basically the same as 10C5*5!): selecting 5 digits out of 10, when the order of the selection matters. Hope it's clear. _________________ --------------------------------------------------------------------------------------------- Kindly press +1 Kudos if my post helped you in any way GMAT Club Legend Joined: 09 Sep 2013 Posts: 15446 Followers: 649 Kudos [?]: 209 [0], given: 0 Re: For a certain alarm system, each code is comprised of 5 digi [#permalink] ### Show Tags 11 Aug 2015, 04:32 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. _________________ Veritas Prep GMAT Instructor Joined: 16 Oct 2010 Posts: 7374 Location: Pune, India Followers: 2288 Kudos [?]: 15111 [1] , given: 224 Re: For a certain alarm system, each code is comprised of 5 digi [#permalink] ### Show Tags 24 Sep 2015, 00:25 1 This post received KUDOS Expert's post VeritasPrepKarishma wrote: phamduyha: The question says 'no digit should be used more than twice' which means that a digit can be used at most 2 times. So you have to take 3 cases: Case 1: All digits distinct Select 5 digits out of 10 in 10C5 ways and arrange them in 5! ways which gives us 10C5x5! = 30240 Case 2: Two digits are same, other 3 are dictinct e.g. 45722 Select a digit which is to be repeated in 10C1 ways, select other 3 digits in 9C3 ways and arrange them in 5!/2! ways to get 10C1 x 9C3 x 5!/2! = 50400 ways Case 3: Two digits repeated and one other digit e.g. 33448 Select 2 digits to be repeated in 10C2 ways, select the single digit in 8C1 ways and arrange them all in 5!/2!.2! ways to get 10C2 x 8C1 x 5!/2!.2! = 10800 Sum of all = 30240 + 50400 + 10800 = 91440 ways Generally, actual GMAT questions will not be calculation intensive since you are required to solve them in under 2 mins. Responding to a pm: Quote: I did it in 3 cases just like you. Case1 (abcde): 10*9*8*7*6 = 30240 ways Case 2 (aabcd): 10*10*9*8*7 = 50400 ways Case 3 (aabbc): 10*10*9*9*8 = 64800 ways (Shouldn't this case has more ways than 2 cases above?) Total = 30240 + 50400 + 64800 = 145400 ways As you can see, your case 3 has a problem. There are 10 ways of writing the leftmost digit - correct Then there are 10 ways of writing the next digit - correct For the next digit, there could be 9 ways or there could be 10 ways depending on what was chosen previously: e.g 22 __ __ __ - here there are 9 ways of choosing the next digit. 23 __ __ __ - here there are 10 ways of choosing the next digit. Both 2 and 3 can be repeated as opposed to case 2 where only one digit can be repeated. Hence, don't do the question this way. Choose the repeated digits and then arrange as I have done above. Note that there will be far fewer cases here because 2 digits will be repeated so fewer different digits will be there. So the number of arrangements will be fewer. Now think, why does case 2 work but case 3 does not. _________________ Karishma Veritas Prep | GMAT Instructor My Blog Get started with Veritas Prep GMAT On Demand for$199

Veritas Prep Reviews

GMAT Club Legend
Joined: 09 Sep 2013
Posts: 15446
Followers: 649

Kudos [?]: 209 [0], given: 0

Re: For a certain alarm system, each code is comprised of 5 digi [#permalink]

### Show Tags

24 Jan 2017, 09:40
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.
_________________
Manager
Joined: 05 Dec 2016
Posts: 124
Followers: 0

Kudos [?]: 9 [0], given: 43

Re: For a certain alarm system, each code is comprised of 5 digi [#permalink]

### Show Tags

09 Feb 2017, 05:37
VeritasPrepKarishma wrote:
phamduyha: The question says 'no digit should be used more than twice' which means that a digit can be used at most 2 times. So you have to take 3 cases:

Case 1: All digits distinct
Select 5 digits out of 10 in 10C5 ways and arrange them in 5! ways which gives us 10C5x5! = 30240

Case 2: Two digits are same, other 3 are dictinct e.g. 45722
Select a digit which is to be repeated in 10C1 ways, select other 3 digits in 9C3 ways and arrange them in 5!/2! ways to get 10C1 x 9C3 x 5!/2! = 50400 ways

Case 3: Two digits repeated and one other digit e.g. 33448
Select 2 digits to be repeated in 10C2 ways, select the single digit in 8C1 ways and arrange them all in 5!/2!.2! ways to get 10C2 x 8C1 x 5!/2!.2! = 10800

Sum of all = 30240 + 50400 + 10800 = 91440 ways

Generally, actual GMAT questions will not be calculation intensive since you are required to solve them in under 2 mins.

Hi, could you please specify the logic for 2nd and 3rd cases.
2nd case:
I do not grasp the logic why you're counting 10C1 only once as long as we have assume that 2 digits are the same? And what is the rationale for using 5!/2! to arrange, why do we have a 2! in denominator? I'd rather used 3! to arrange remaining 3 distinct digits.
3d case:
Actually the same questions as above. I'd rather used 10C2 for the first pair of the same digits, then 8C2 for second pair of the same digits, and then 6C1 for the last one then arrange in 5!.
Would appreciate for explanation.
P.S. I'm not stable at computations. Some problems are solved smoothly however others like this one makes me stuck for many minutes...
Veritas Prep GMAT Instructor
Joined: 16 Oct 2010
Posts: 7374
Location: Pune, India
Followers: 2288

Kudos [?]: 15111 [1] , given: 224

Re: For a certain alarm system, each code is comprised of 5 digi [#permalink]

### Show Tags

09 Feb 2017, 22:53
1
KUDOS
Expert's post
Alexey1989x wrote:
VeritasPrepKarishma wrote:
phamduyha: The question says 'no digit should be used more than twice' which means that a digit can be used at most 2 times. So you have to take 3 cases:

Case 1: All digits distinct
Select 5 digits out of 10 in 10C5 ways and arrange them in 5! ways which gives us 10C5x5! = 30240

Case 2: Two digits are same, other 3 are dictinct e.g. 45722
Select a digit which is to be repeated in 10C1 ways, select other 3 digits in 9C3 ways and arrange them in 5!/2! ways to get 10C1 x 9C3 x 5!/2! = 50400 ways

Case 3: Two digits repeated and one other digit e.g. 33448
Select 2 digits to be repeated in 10C2 ways, select the single digit in 8C1 ways and arrange them all in 5!/2!.2! ways to get 10C2 x 8C1 x 5!/2!.2! = 10800

Sum of all = 30240 + 50400 + 10800 = 91440 ways

Generally, actual GMAT questions will not be calculation intensive since you are required to solve them in under 2 mins.

Hi, could you please specify the logic for 2nd and 3rd cases.
2nd case:
I do not grasp the logic why you're counting 10C1 only once as long as we have assume that 2 digits are the same? And what is the rationale for using 5!/2! to arrange, why do we have a 2! in denominator? I'd rather used 3! to arrange remaining 3 distinct digits.
3d case:
Actually the same questions as above. I'd rather used 10C2 for the first pair of the same digits, then 8C2 for second pair of the same digits, and then 6C1 for the last one then arrange in 5!.
Would appreciate for explanation.
P.S. I'm not stable at computations. Some problems are solved smoothly however others like this one makes me stuck for many minutes...

You select one digit which has to be repeated. That digit will be written twice. So you just need to select one such digit. You can do that in 10C1 ways. The one selection could be 0 or 1 or 2 ...etc. This you will write twice.

Now you have place for 3 other digits. These you select in 9C3 ways.

How do you arrange something like 11234? Note that 12314, 21341 etc are all valid arrangements.
How do you arrange n things in which r are the same? You use n!/r!.

To know why, check out this video: https://www.youtube.com/watch?v=1zhltihi5VU
_________________

Karishma
Veritas Prep | GMAT Instructor
My Blog

Get started with Veritas Prep GMAT On Demand for \$199

Veritas Prep Reviews

Re: For a certain alarm system, each code is comprised of 5 digi   [#permalink] 09 Feb 2017, 22:53
Similar topics Replies Last post
Similar
Topics:
9 In a certain warehouse, each product is given a code consisting of two 6 10 Mar 2017, 23:49
10 A chain is comprised of 10 identical links, each of which in 14 21 Mar 2017, 04:20
5 In a multiple choice test comprising 5 Questions, each with 5 18 Mar 2016, 19:59
5 In an examination comprising 20 questions, each question has 2 29 Mar 2017, 06:31
10 Each signal that a certain ship can make is comprised of 3 7 15 May 2016, 15:34
Display posts from previous: Sort by