Last visit was: 19 Jun 2025, 11:33 It is currently 19 Jun 2025, 11:33
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
avatar
SFF
Joined: 09 Sep 2011
Last visit: 12 Nov 2017
Posts: 4
Own Kudos:
172
 [167]
Given Kudos: 1
Location: India
Concentration: General Management
GMAT 1: 720 Q49 V38
GMAT 1: 720 Q49 V38
Posts: 4
Kudos: 172
 [167]
5
Kudos
Add Kudos
162
Bookmarks
Bookmark this Post
Most Helpful Reply
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 19 June 2025
Posts: 102,155
Own Kudos:
Given Kudos: 93,936
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 102,155
Kudos: 733,715
 [30]
13
Kudos
Add Kudos
17
Bookmarks
Bookmark this Post
User avatar
KarishmaB
Joined: 16 Oct 2010
Last visit: 19 Jun 2025
Posts: 16,058
Own Kudos:
73,790
 [20]
Given Kudos: 472
Location: Pune, India
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 16,058
Kudos: 73,790
 [20]
17
Kudos
Add Kudos
3
Bookmarks
Bookmark this Post
General Discussion
User avatar
GyanOne
Joined: 24 Jul 2011
Last visit: 21 Apr 2025
Posts: 3,206
Own Kudos:
1,664
 [18]
Given Kudos: 33
Status: World Rank #4 MBA Admissions Consultant
Expert
Expert reply
Posts: 3,206
Kudos: 1,664
 [18]
12
Kudos
Add Kudos
6
Bookmarks
Bookmark this Post
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
avatar
SFF
Joined: 09 Sep 2011
Last visit: 12 Nov 2017
Posts: 4
Own Kudos:
Given Kudos: 1
Location: India
Concentration: General Management
GMAT 1: 720 Q49 V38
GMAT 1: 720 Q49 V38
Posts: 4
Kudos: 172
Kudos
Add Kudos
Bookmarks
Bookmark this Post
GyanOne
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.
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 19 June 2025
Posts: 102,155
Own Kudos:
733,715
 [4]
Given Kudos: 93,936
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 102,155
Kudos: 733,715
 [4]
Kudos
Add Kudos
4
Bookmarks
Bookmark this Post
Bumping for review and further discussion*. Get a kudos point for an alternative solution!

*New project from GMAT Club!!! Check HERE

Theory on Combinations: math-combinatorics-87345.html

DS questions on Combinations: search.php?search_id=tag&tag_id=31
PS questions on Combinations: search.php?search_id=tag&tag_id=52

Tough and tricky questions on Combinations: hardest-area-questions-probability-and-combinations-101361.html
User avatar
honchos
Joined: 17 Apr 2013
Last visit: 30 Aug 2021
Posts: 360
Own Kudos:
Given Kudos: 298
Status:Verbal Forum Moderator
Location: India
GMAT 1: 710 Q50 V36
GMAT 2: 750 Q51 V41
GMAT 3: 790 Q51 V49
GPA: 3.3
GMAT 3: 790 Q51 V49
Posts: 360
Kudos: 2,388
Kudos
Add Kudos
Bookmarks
Bookmark this Post
VeritasPrepKarishma
samarthgupta
GyanOne
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
User avatar
KarishmaB
Joined: 16 Oct 2010
Last visit: 19 Jun 2025
Posts: 16,058
Own Kudos:
Given Kudos: 472
Location: Pune, India
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 16,058
Kudos: 73,790
Kudos
Add Kudos
Bookmarks
Bookmark this Post
honchos
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
avatar
gmatser1
Joined: 07 Feb 2015
Last visit: 16 Jan 2016
Posts: 45
Own Kudos:
Given Kudos: 28
Posts: 45
Kudos: 83
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Can someone explain why the first and last digits are 5^2 and not just 5 options?
avatar
koreye
Joined: 13 Sep 2015
Last visit: 18 Jan 2016
Posts: 11
Own Kudos:
32
 [4]
Given Kudos: 239
Posts: 11
Kudos: 32
 [4]
4
Kudos
Add Kudos
Bookmarks
Bookmark this Post
gmatser1
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.
User avatar
ScottTargetTestPrep
User avatar
Target Test Prep Representative
Joined: 14 Oct 2015
Last visit: 19 Jun 2025
Posts: 20,964
Own Kudos:
26,024
 [2]
Given Kudos: 293
Status:Founder & CEO
Affiliations: Target Test Prep
Location: United States (CA)
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 20,964
Kudos: 26,024
 [2]
2
Kudos
Add Kudos
Bookmarks
Bookmark this Post
SFF
A 5-digit 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 L-N-L-L-L, L-L-N-L-L, and L-L-L-N-L. Note that there are an equal number of possible codes for each of these formats, therefore we will find the number of L-N-L-L-L 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 L-N-L-L-L codes. Since the total number of codes is three times that, there are 1875 x 3 = 5625 possible codes.

Answer E
User avatar
D4kshGargas
Joined: 01 Apr 2020
Last visit: 28 Feb 2021
Posts: 86
Own Kudos:
Given Kudos: 283
Location: India
GMAT 1: 650 Q46 V34 (Online)
GMAT 2: 680 Q48 V35 (Online)
GMAT 2: 680 Q48 V35 (Online)
Posts: 86
Kudos: 31
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Bunuel
samarthgupta
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 5-digit 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 (X-X-X-X) 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: https://gmatclub.com/forum/a-4-letter-co ... 59065.html

Hope it helps.

Hi, I am having a hard time understanding the statement "If the first and last digit must be a letter digit"
Doesn't that mean the first and last digit must be a [Letter + Digit]? Like A1 or B1, something like that?
so the code will be
A1 _ _ _ B1, something like that

I know I'm wrong but can you please clarify?
Thanks!
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 19 June 2025
Posts: 102,155
Own Kudos:
Given Kudos: 93,936
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 102,155
Kudos: 733,715
Kudos
Add Kudos
Bookmarks
Bookmark this Post
D4kshGargas
Bunuel
samarthgupta
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 5-digit 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 (X-X-X-X) 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: https://gmatclub.com/forum/a-4-letter-co ... 59065.html

Hope it helps.

Hi, I am having a hard time understanding the statement "If the first and last digit must be a letter digit"
Doesn't that mean the first and last digit must be a [Letter + Digit]? Like A1 or B1, something like that?
so the code will be
A1 _ _ _ B1, something like that

I know I'm wrong but can you please clarify?
Thanks!

The first and the last symbols must be letters. For example, AAB2B, C3ACC, ...
User avatar
Crytiocanalyst
Joined: 16 Jun 2021
Last visit: 27 May 2023
Posts: 953
Own Kudos:
Given Kudos: 309
Posts: 953
Kudos: 201
Kudos
Add Kudos
Bookmarks
Bookmark this Post
To occupy the first position we have to choose one number from 3 numbers in 3C1 = 3 ways

Another one position is accompanied by a number in 3C1 = 3 ways

The remaiing four positions can be filled in 5^4 ways.

Therefore the total no of codes that can be made = 3*3*(5^4) = 5,625

Hence IMO E
User avatar
Kinshook
User avatar
Major Poster
Joined: 03 Jun 2019
Last visit: 19 Jun 2025
Posts: 5,613
Own Kudos:
Given Kudos: 161
Location: India
GMAT 1: 690 Q50 V34
WE:Engineering (Transportation)
Products:
GMAT 1: 690 Q50 V34
Posts: 5,613
Kudos: 5,101
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Given: A 5-digit code consists of one number digit chosen from 1, 2, 3 and four letters chosen from A, B, C, D, E.
Asked: 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?

Number of ways to chose first and last digits = 5^2
Number of ways to chose remaining digits = 3C1*3*5^2

Number of different codes possible = 3C1*3*5^4 = 3^2*5^4 = 9*625 = 5625

IMO E
User avatar
sarthak1701
Joined: 11 Sep 2024
Last visit: 18 Jun 2025
Posts: 99
Own Kudos:
Given Kudos: 16
GMAT Focus 1: 575 Q77 V81 DI78
GMAT Focus 1: 575 Q77 V81 DI78
Posts: 99
Kudos: 35
Kudos
Add Kudos
Bookmarks
Bookmark this Post
First and last can be chosen in 5 ways. Let's put 5 in both positions

5 _ _ _ 5

Now, the code must contain 1 digit and 4 letters and we have 3 digits and 5 letters to choose from.

We can choose a digit in 3 ways and a letter in 5 ways, which gives us 3*5*5 possible codes BUT we also need to adjust for the arrangement within these 3 letters, DLL (Digit - Letter - Letter) can be arranged in 3!/2! ways = 3 ways. Therefore, the middle 3 letters can be chosen in 3*5*5*3 ways

Plug these values in the positional text above and we get = 5*3*5*5*3*5 = 5625
Moderators:
Math Expert
102154 posts
PS Forum Moderator
648 posts