Author 
Message 
TAGS:

Hide Tags

Intern
Joined: 09 Sep 2011
Posts: 4
Location: India
Concentration: General Management

A 5digit code consists of one number digit chosen from 1, 2
[#permalink]
Show Tags
08 May 2012, 23:30
Question Stats:
50% (02:40) correct 50% (02:31) wrong based on 822 sessions
HideShow timer Statistics
A 5digit code consists of one number digit chosen from 1, 2, 3 and four letters chosen from A, B, C, D, E. If the first and last digit must be a letter digit and each digit can appear more than once in a code, how many different codes are possible? A. 375 B. 625 C. 1,875 D. 3,750 E. 5,625
Official Answer and Stats are available only to registered users. Register/ Login.




Math Expert
Joined: 02 Sep 2009
Posts: 60647

Re: A 5digit code consists of one number digit chosen from 1, 2
[#permalink]
Show Tags
09 May 2012, 01:23
samarthgupta wrote: A friend asked me this question recently and I wasn't able to get the official answer for this question. I am not sure about the source or the difficulty level. The questions is as follows :
A 5digit code consists of one number digit chosen from 1, 2, 3 and four letters chosen from A, B, C, D, E. If the first and last digit must be a letter digit and each digit can appear more than once in a code, how many different codes are possible?
A. 375 B. 625 C. 1,875 D. 3,750 E. 5,625 Notice that each digit can appear more than once in a code. Since there should be 4 letters in a code (XXXX) and each letter can take 5 values (A, B, C, D, E) then total # of combinations of the letters only is 5*5*5*5=5^4. Now, we are told that the first and last digit must be a letter digit, so number digit can take any of the three slots between the letters: X X X X, so 3 positions and the digit itself can take 3 values (1, 2, 3). So, total # of codes is 5^4*3*3=5,625. Answer: E. Similar question to practice: a4lettercodewordconsistsoflettersabandcifthe59065.htmlHope it helps.
_________________




SVP
Status: Top MBA Admissions Consultant
Joined: 24 Jul 2011
Posts: 1917

Re: Maths Question on Combinations
[#permalink]
Show Tags
Updated on: 09 May 2012, 02:58
Choose one number from 3 numbers in 3C1 = 3 ways Choose one position from the middle three for the number in 3C1 = 3 ways The other four positions can be filled by the 5 letters in 5^4 ways. Therefore total number of codes possible = 3*3*(5^4) = 5,625 E
_________________
GyanOne [www.gyanone.com] Premium MBA and MiM Admissions Consulting
Awesome Work  Honest Advise  Outstanding Results Reach Out, Lets chat!Email: info at gyanone dot com  +91 98998 31738  Skype: gyanone.services
Originally posted by GyanOne on 08 May 2012, 23:46.
Last edited by GyanOne on 09 May 2012, 02:58, edited 2 times in total.



Intern
Joined: 09 Sep 2011
Posts: 4
Location: India
Concentration: General Management

Re: Maths Question on Combinations
[#permalink]
Show Tags
09 May 2012, 01:14
GyanOne wrote: Choose one number from 3 numbers in 3C1 = 3 ways Choose four letters from 5 letters in 5C4 = 5 ways Choose one position from the middle three for the number in 3C1 = 3 ways The other four positions can be filled by the 4 letters in 4^4 ways.
Therefore total number of codes possible = 3*5*3*(4^4) = 45*16*16 = 11,520 For the first and last positions the letters can be chosen in 5c1 ways, but if we get say the same letter twice then we need to divide by 2! to avoid duplicates since we are looking for different codes. For the 3 positions in between, we can choose 1 digit in 4c1 ways, and the remaining 2 digits in 5c1 and 5c1 ways. These three can rearrange themselves in 3! ways and we again divide by 2! to avoid duplicates since we can have the letters to repeat themselves. I have shown this below : 5c1 [(4c1*5c1*5c1)3!]/2! 5c1 1 2 3 4 5 Therefore total according to me would be : [(5c1*5c1)/2!]*[(4c1*5c1*5c1)3!]/2! = (25*25*6*4)/4 = 3750. Can anyone correct where i am making a mistake.



Veritas Prep GMAT Instructor
Joined: 16 Oct 2010
Posts: 10011
Location: Pune, India

Re: Maths Question on Combinations
[#permalink]
Show Tags
09 May 2012, 09:55
samarthgupta wrote: GyanOne wrote: Choose one number from 3 numbers in 3C1 = 3 ways Choose four letters from 5 letters in 5C4 = 5 ways Choose one position from the middle three for the number in 3C1 = 3 ways The other four positions can be filled by the 4 letters in 4^4 ways.
Therefore total number of codes possible = 3*5*3*(4^4) = 45*16*16 = 11,520 For the first and last positions the letters can be chosen in 5c1 ways, but if we get say the same letter twice then we need to divide by 2! to avoid duplicates since we are looking for different codes. For the 3 positions in between, we can choose 1 digit in 4c1 ways, and the remaining 2 digits in 5c1 and 5c1 ways. These three can rearrange themselves in 3! ways and we again divide by 2! to avoid duplicates since we can have the letters to repeat themselves. I have shown this below : 5c1 [(4c1*5c1*5c1)3!]/2! 5c1 1 2 3 4 5 Therefore total according to me would be : [(5c1*5c1)/2!]*[(4c1*5c1*5c1)3!]/2! = (25*25*6*4)/4 = 3750. Can anyone correct where i am making a mistake. You are allowed duplicates. Even if A appears in the first as well as the last position, it will give you a code different from what you get when you have different letters in the first and the last position. You need to arrange the letters here. If instead you needed to just select groups, then yes, you would have worried about the effect of duplicates. You select a letter for the first position in 5C1 ways and a letter for the last position in 5C1 ways. Say you put the digit in the second position. You can select a digit for the second position in 3C1 ways. You can select the letters for the third and fourth positions in 5C1 and 5C1 ways. Hence, you get 5*3*5*5*5 codes. But here, we have put the digit in the second place. It could have been in the third or fourth place too. So you multiply the above given result by 3. Hence total number of codes = 5*3*5*5*5*3 = 5625
_________________
Karishma Veritas Prep GMAT Instructor
Learn more about how Veritas Prep can help you achieve a great GMAT score by checking out their GMAT Prep Options >



Math Expert
Joined: 02 Sep 2009
Posts: 60647

Re: A 5digit code consists of one number digit chosen from 1, 2
[#permalink]
Show Tags
01 Jul 2013, 00:59
Bumping for review and further discussion*. Get a kudos point for an alternative solution! *New project from GMAT Club!!! Check HERE
_________________



Senior Manager
Status: Verbal Forum Moderator
Joined: 17 Apr 2013
Posts: 447
Location: India
GMAT 1: 710 Q50 V36 GMAT 2: 750 Q51 V41 GMAT 3: 790 Q51 V49
GPA: 3.3

Re: Maths Question on Combinations
[#permalink]
Show Tags
18 Sep 2013, 05:56
VeritasPrepKarishma wrote: samarthgupta wrote: GyanOne wrote: Choose one number from 3 numbers in 3C1 = 3 ways Choose four letters from 5 letters in 5C4 = 5 ways Choose one position from the middle three for the number in 3C1 = 3 ways The other four positions can be filled by the 4 letters in 4^4 ways.
Therefore total number of codes possible = 3*5*3*(4^4) = 45*16*16 = 11,520 For the first and last positions the letters can be chosen in 5c1 ways, but if we get say the same letter twice then we need to divide by 2! to avoid duplicates since we are looking for different codes. For the 3 positions in between, we can choose 1 digit in 4c1 ways, and the remaining 2 digits in 5c1 and 5c1 ways. These three can rearrange themselves in 3! ways and we again divide by 2! to avoid duplicates since we can have the letters to repeat themselves. I have shown this below : 5c1 [(4c1*5c1*5c1)3!]/2! 5c1 1 2 3 4 5 Therefore total according to me would be : [(5c1*5c1)/2!]*[(4c1*5c1*5c1)3!]/2! = (25*25*6*4)/4 = 3750. Can anyone correct where i am making a mistake. You are allowed duplicates. Even if A appears in the first as well as the last position, it will give you a code different from what you get when you have different letters in the first and the last position. You need to arrange the letters here. If instead you needed to just select groups, then yes, you would have worried about the effect of duplicates. You select a letter for the first position in 5C1 ways and a letter for the last position in 5C1 ways. Say you put the digit in the second position. You can select a digit for the second position in 3C1 ways. You can select the letters for the third and fourth positions in 5C1 and 5C1 ways. Hence, you get 5*3*5*5*5 codes. But here, we have put the digit in the second place. It could have been in the third or fourth place too. So you multiply the above given result by 3. Hence total number of codes = 5*3*5*5*5*3 = 5625 Karishma can you tell me wher I am wrong 1st and last places can be filled in 5 X 5 ways, another 3 this way 5C1X5C1X3C1 and they can be arranged among 3! ways = 5C1X5C1X3C1 x3! = 5x5x3x3x2 finally 5x5x5x5x3x3x2



Veritas Prep GMAT Instructor
Joined: 16 Oct 2010
Posts: 10011
Location: Pune, India

Re: Maths Question on Combinations
[#permalink]
Show Tags
18 Sep 2013, 07:02
honchos wrote: Karishma can you tell me wher I am wrong 1st and last places can be filled in 5 X 5 ways, another 3 this way
5C1X5C1X3C1 and they can be arranged among 3! ways = 5C1X5C1X3C1 x3! = 5x5x3x3x2
finally 5x5x5x5x3x3x2 I am not sure how you have worked this out. 5*5 is fine for first and last positions  they must be letters. But you need 5 digit code so you have another 3 positions to fill * _ _ _ * You must use one number digit so you can select a number digit in 3 ways and the position for that number digit in 3 ways. Also the other two positions must be letters so they can be selected in 5*5 ways. In all, 5*5*3*3*5*5
_________________
Karishma Veritas Prep GMAT Instructor
Learn more about how Veritas Prep can help you achieve a great GMAT score by checking out their GMAT Prep Options >



Intern
Joined: 30 Oct 2014
Posts: 1

Re: A 5digit code consists of one number digit chosen from 1, 2
[#permalink]
Show Tags
12 May 2015, 05:36
Can someone pls tell me if my approach is correct :
We need to fill these 5 blank spaces. _ _ _ _ _ We have 5 letters of which we need to pick 4. That makes it 5P4. Now 4 of these 5 letters could repeat too. So to account for this, we need to divide 5P4 by 4! Of the 3 numbers we need to pick 1. So 3P1. This makes it 5P4/4! * 3P1 * 5P4/4! * 5P4/4! * 5P4/4! or 5P4/4! * 5P4/4! * 3P1 * 5P4/4! * 5P4/4! or 5P4/4! * 5P4/4! * 5P4/4! * 3P1 * 5P4/4!
Accounting for all the scenarios we get 5P4/4! * 3P1 * 5P4/4! * 5P4/4! * 5P4/4! + 5P4/4! * 5P4/4! * 3P1 * 5P4/4! * 5P4/4! + 5P4/4! * 5P4/4! * 5P4/4! * 3P1 * 5P4/4!
=5*3*5*5*5 + 5*5*3*5*5 + 5*5*5*3*5 =5*3*5*5*5*3 =5625.



Manager
Joined: 08 May 2015
Posts: 86
GMAT 1: 630 Q39 V38 GMAT 2: 670 Q44 V38 GMAT 3: 750 Q49 V44

Re: A 5digit code consists of one number digit chosen from 1, 2
[#permalink]
Show Tags
17 Jun 2015, 18:25
Since it will have "3*3 in the number", it will have to be divisible by 9. The only choice is E.



Manager
Joined: 07 Feb 2015
Posts: 60

Re: A 5digit code consists of one number digit chosen from 1, 2
[#permalink]
Show Tags
18 Jun 2015, 06:56
Can someone explain why the first and last digits are 5^2 and not just 5 options?



Intern
Joined: 13 Sep 2015
Posts: 16

Re: A 5digit code consists of one number digit chosen from 1, 2
[#permalink]
Show Tags
18 Nov 2015, 03:59
gmatser1 wrote: Can someone explain why the first and last digits are 5^2 and not just 5 options? since repetitions are allowed, there are 5 ways to choose the letters for the first slot, and five ways to choose for last slot thats 5 x _ x _ x _ x 5 you still have to choose 1 digit and 2 letters between. For the letters, again, repetitions are allowed so each slot can be filled in 5 ways. For digit, it can only be filled in 3 ways. However, since the digit can be in any one of the 3 middle slots, so we multiply by 3 again: 5 x 3 x 5 x 5 x 5 or 5 x 5 x 3 x 5 x 5 or 5 x 5 x 5 x 3 x 5 so 5 x 5 x 5 x 5 x 3 x 3 = 5^4 x 3^2 = 5625.



Intern
Joined: 08 Dec 2015
Posts: 21

Re: A 5digit code consists of one number digit chosen from 1, 2
[#permalink]
Show Tags
14 Dec 2015, 15:00
Hey guys, I solved this similarly, but it took me some time (4.5mins). Can someone explain what I can/should do differently? Here are my steps below.
1. Deep breath (bc combo problems give me anxiety)
2. 5 letter word ( _ _ _ _ _ )
3. First and last choices are letters ( 5 _ _ _ 5)
4. The middle includes a number so the choices are: 5 3 5 5 5 5 5 3 5 5 5 5 5 3 5
5. If we add these up, we get: 3 * (5*3*5*5*5) = 5^4 * 3^2 = 625*9 = something slightly less than 6250... (I'm quickly running out of steam here...)
6. Choose E because it is the closest answer and I've already spent way too much time on this problem



Intern
Joined: 28 Dec 2015
Posts: 37

Re: A 5digit code consists of one number digit chosen from 1, 2
[#permalink]
Show Tags
13 Jul 2016, 21:21
_ _ _ _ _
The first and last letter must be one of the letter A,B,C,D and E.
one digit would be a number out of 1,2,and 3.
So,we have 5*3*5*5*5Digit takes the second position1875
If digit takes third position we have 5*5*3*5*51875
If digit takes the fourth position,we have 5*5*5*3*51875
All add up to 5625



Manager
Joined: 09 Jan 2016
Posts: 98
GPA: 3.4
WE: General Management (Human Resources)

Re: A 5digit code consists of one number digit chosen from 1, 2
[#permalink]
Show Tags
10 May 2017, 11:31
SFF wrote: A 5digit code consists of one number digit chosen from 1, 2, 3 and four letters chosen from A, B, C, D, E. If the first and last digit must be a letter digit and each digit can appear more than once in a code, how many different codes are possible?
A. 375 B. 625 C. 1,875 D. 3,750 E. 5,625 A bit logic is needed for this problem.there are three letters and we need to form 4 letters code. _ _ _ (A,B,or C).For every code we have to repeat one letter. So, the solution will be : 3*4/2! = 36 . hope it helps.



Senior Manager
Joined: 03 Apr 2013
Posts: 263
Location: India
Concentration: Marketing, Finance
GMAT 1: 740 Q50 V41
GPA: 3

Re: A 5digit code consists of one number digit chosen from 1, 2
[#permalink]
Show Tags
12 Jun 2017, 02:22
VeritasPrepKarishma wrote: samarthgupta wrote: GyanOne wrote: Choose one number from 3 numbers in 3C1 = 3 ways Choose four letters from 5 letters in 5C4 = 5 ways Choose one position from the middle three for the number in 3C1 = 3 ways The other four positions can be filled by the 4 letters in 4^4 ways.
Therefore total number of codes possible = 3*5*3*(4^4) = 45*16*16 = 11,520 For the first and last positions the letters can be chosen in 5c1 ways, but if we get say the same letter twice then we need to divide by 2! to avoid duplicates since we are looking for different codes. For the 3 positions in between, we can choose 1 digit in 4c1 ways, and the remaining 2 digits in 5c1 and 5c1 ways. These three can rearrange themselves in 3! ways and we again divide by 2! to avoid duplicates since we can have the letters to repeat themselves. I have shown this below : 5c1 [(4c1*5c1*5c1)3!]/2! 5c1 1 2 3 4 5 Therefore total according to me would be : [(5c1*5c1)/2!]*[(4c1*5c1*5c1)3!]/2! = (25*25*6*4)/4 = 3750. Can anyone correct where i am making a mistake. You are allowed duplicates. Even if A appears in the first as well as the last position, it will give you a code different from what you get when you have different letters in the first and the last position. You need to arrange the letters here. If instead you needed to just select groups, then yes, you would have worried about the effect of duplicates. You select a letter for the first position in 5C1 ways and a letter for the last position in 5C1 ways. Say you put the digit in the second position. You can select a digit for the second position in 3C1 ways. You can select the letters for the third and fourth positions in 5C1 and 5C1 ways. Hence, you get 5*3*5*5*5 codes. But here, we have put the digit in the second place. It could have been in the third or fourth place too. So you multiply the above given result by 3. Hence total number of codes = 5*3*5*5*5*3 = 5625 The question is not difficult to do once it's understood. I think the question is very badly written, because I had to read it at least thrice to get to know what exactly it is asking. I found the language really bad on this question



Target Test Prep Representative
Status: Founder & CEO
Affiliations: Target Test Prep
Joined: 14 Oct 2015
Posts: 9142
Location: United States (CA)

Re: A 5digit code consists of one number digit chosen from 1, 2
[#permalink]
Show Tags
14 Jun 2017, 16:27
SFF wrote: A 5digit code consists of one number digit chosen from 1, 2, 3 and four letters chosen from A, B, C, D, E. If the first and last digit must be a letter digit and each digit can appear more than once in a code, how many different codes are possible?
A. 375 B. 625 C. 1,875 D. 3,750 E. 5,625 Let’s determine the number of ways we can produce each digit. If L denotes a letter digit and N denotes a number digit, the possibilities for the code are LNLLL, LLNLL, and LLLNL. Note that there are an equal number of possible codes for each of these formats, therefore we will find the number of LNLLL codes and multiply the result by three. Since the first digit must be a letter, we have 5 options for the first digit. Since the second digit is a number, there are 3 options for the second digit. For the third, fourth, and fifth digits, we have 5 options each. In total, there are 5 x 3 x 5 x 5 x 5 = 1875 LNLLL codes. Since the total number of codes is three times that, there are 1875 x 3 = 5625 possible codes. Answer E
_________________
5star rated online GMAT quant self study course See why Target Test Prep is the top rated GMAT quant course on GMAT Club. Read Our Reviews If you find one of my posts helpful, please take a moment to click on the "Kudos" button.



Director
Joined: 14 Dec 2017
Posts: 505
Location: India

Re: A 5digit code consists of one number digit chosen from 1, 2
[#permalink]
Show Tags
28 Jun 2018, 11:41
SFF wrote: A 5digit code consists of one number digit chosen from 1, 2, 3 and four letters chosen from A, B, C, D, E. If the first and last digit must be a letter digit and each digit can appear more than once in a code, how many different codes are possible?
A. 375 B. 625 C. 1,875 D. 3,750 E. 5,625 A 5 digit code is to be formed. Each code has one number from {1,2,3} & 4 letters from {A,B,C,D,E} The constraint is that first & last place in the code has to be a letter & the items in each place can be repeated. Hence we can have a code as AAA1A or D2DDD or AB3CD, etc. The code structure can be expressed as (Letter)(Letter)(Letter)(#)(Letter) or (Letter)(Letter)(#)(Letter)(Letter) or (letter)(#)(Letter)(Letter)(Letter) Hence we have # of ways as = (5 * 5 * 5 * 3 * 5) + (5 * 5 * 3 * 5 * 5) + (5 * 3 * 5 * 5 * 5) = 5^4 * 3 * 3 = 625 * 9 = 5625 Answer E. Thanks, GyM
_________________



GMAT Club Legend
Joined: 18 Aug 2017
Posts: 5730
Location: India
Concentration: Sustainability, Marketing
GPA: 4
WE: Marketing (Energy and Utilities)

Re: A 5digit code consists of one number digit chosen from 1, 2
[#permalink]
Show Tags
14 Apr 2019, 10:56
SFF wrote: A 5digit code consists of one number digit chosen from 1, 2, 3 and four letters chosen from A, B, C, D, E. If the first and last digit must be a letter digit and each digit can appear more than once in a code, how many different codes are possible?
A. 375 B. 625 C. 1,875 D. 3,750 E. 5,625 5 letter and 3 digits letter takes first and last postion and digits can take 3 positions so 5*5*5*3*5  1875 ; 3 postions of digit possible 1875 * 3; 5625 IMO E




Re: A 5digit code consists of one number digit chosen from 1, 2
[#permalink]
14 Apr 2019, 10:56






