Last visit was: 26 Mar 2025, 16:53 It is currently 26 Mar 2025, 16:53
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
User avatar
Murmeltier
Joined: 27 Jan 2012
Last visit: 02 Jun 2014
Posts: 8
Own Kudos:
263
 [224]
Given Kudos: 4
GMAT 1: 710 Q45 V41
GMAT 1: 710 Q45 V41
Posts: 8
Kudos: 263
 [224]
7
Kudos
Add Kudos
217
Bookmarks
Bookmark this Post
Most Helpful Reply
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 26 Mar 2025
Posts: 100,092
Own Kudos:
Given Kudos: 92,710
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 100,092
Kudos: 711,143
 [104]
44
Kudos
Add Kudos
60
Bookmarks
Bookmark this Post
User avatar
Joy111
Joined: 18 Oct 2010
Last visit: 25 Dec 2013
Posts: 58
Own Kudos:
579
 [40]
Given Kudos: 26
Posts: 58
Kudos: 579
 [40]
26
Kudos
Add Kudos
14
Bookmarks
Bookmark this Post
General Discussion
User avatar
KarishmaB
Joined: 16 Oct 2010
Last visit: 26 Mar 2025
Posts: 15,831
Own Kudos:
72,306
 [8]
Given Kudos: 461
Location: Pune, India
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 15,831
Kudos: 72,306
 [8]
7
Kudos
Add Kudos
1
Bookmarks
Bookmark this Post
There are two slightly different ways of doing this question:

No of different four letter codes:
26*26*26*26 = 26^4

No of different five letter codes:
26*26*26*26*26 = 26^5

Total number of codes = 26^4 + 26^5 = 27*26^4

or

Total no of different four or five letter codes:
26*26*26*26*27 = 27*26^4
(you multiply by 27 because for the last letter, you have 27 different possibilities - the 26 letters and null i.e. no letter which takes care of including all the 4 letter codes)
User avatar
swanidhi
Joined: 11 Oct 2013
Last visit: 14 Jul 2023
Posts: 70
Own Kudos:
Given Kudos: 137
Concentration: Marketing, General Management
GMAT 1: 600 Q41 V31
GMAT 1: 600 Q41 V31
Posts: 70
Kudos: 302
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Bunuel
All of the stocks on the over the counter market are designated by either a 4 letter or a 5 letter code that is created by using the 26 letters of the alphabet. Which of the following gives the maximum number of different stocks that can be desgnated with these codes?
A. 2 (26)^5
B. 26(26)^4
C. 27(26)^4
D. 26(26)^5
E. 27(26)^5

In 4-digit code {XXXX} each digit can take 26 values (as there are 26 letters), so total # of 4-digits code possible is 26^4;

The same for 5-digit code {XXXXX} again each digit can take 26 values (26 letters), so total # of 5-digits code possible is 26^5;

Total: \(26^4+26^5=26^4(1+26)=27*26^4\).

Answer: C.

In this case, wouldn't there be a possibility of 2 tickets having the same code? If no, can you please explain! Thanks
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 26 Mar 2025
Posts: 100,092
Own Kudos:
711,143
 [1]
Given Kudos: 92,710
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 100,092
Kudos: 711,143
 [1]
Kudos
Add Kudos
1
Bookmarks
Bookmark this Post
swanidhi
Bunuel
All of the stocks on the over the counter market are designated by either a 4 letter or a 5 letter code that is created by using the 26 letters of the alphabet. Which of the following gives the maximum number of different stocks that can be desgnated with these codes?
A. 2 (26)^5
B. 26(26)^4
C. 27(26)^4
D. 26(26)^5
E. 27(26)^5

In 4-digit code {XXXX} each digit can take 26 values (as there are 26 letters), so total # of 4-digits code possible is 26^4;

The same for 5-digit code {XXXXX} again each digit can take 26 values (26 letters), so total # of 5-digits code possible is 26^5;

Total: \(26^4+26^5=26^4(1+26)=27*26^4\).

Answer: C.

In this case, wouldn't there be a possibility of 2 tickets having the same code? If no, can you please explain! Thanks

Which two codes could possibly be the same? It would be better to try with an easier example: try to count the number of 3 digit codes using 2 letters. You should get 2^3.

For more practice, check Constructing Numbers, Codes and Passwords in our Speciall Questions Directory.
User avatar
TeamGMATIFY
Joined: 20 Aug 2015
Last visit: 31 Oct 2016
Posts: 344
Own Kudos:
1,465
 [1]
Given Kudos: 10
Location: India
GMAT 1: 760 Q50 V44
Expert
Expert reply
GMAT 1: 760 Q50 V44
Posts: 344
Kudos: 1,465
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Murmeltier
All of the stocks on the over the counter market are designated by either a 4 letter or a 5 letter code that is created by using the 26 letters of the alphabet. Which of the following gives the maximum number of different stocks that can be desgnated with these codes?

A. 2 (26)^5
B. 26(26)^4
C. 27(26)^4
D. 26(26)^5
E. 27(26)^5

The first thing to note in these questions is whether we are allowed to repeat the variables or not.
Since here, nothing about repetition is mentioned, we can safely assume that we can repeat the variables.

4 Letter Code: _ _ _ _
The first place can have 26 alphabets.
The second place can also have 26 alphabets, since we can repeat.
Similarly for 3rd and 4th.
Hence total codes = 26*26*26*26 = \(26^4\)

5 Letter Code: _ _ _ _ _
By the above logic,
Total codes = \(26^5\)

Since we are asked the 4 letter codes OR the 5 letter codes,

Total codes = \(26^4 + 26^5\) = \(26^4(26 + 1)\) = \(26^4*27\)

Option C
User avatar
ScottTargetTestPrep
User avatar
Target Test Prep Representative
Joined: 14 Oct 2015
Last visit: 26 Mar 2025
Posts: 20,402
Own Kudos:
Given Kudos: 292
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,402
Kudos: 25,446
Kudos
Add Kudos
Bookmarks
Bookmark this Post
kilukilam
All of the stock on the over counter market are designed by either 4 letter or 5 letter code that is created by using the 26 letter of the alphabet, which of the following given is the maximum number of different stock that can be designed with these code

a. 2 (26)^5
b. 26(26)^4
c. 27(26)^4
d. 26(26)^5
e. 27(26)^5


We need to determine the maximum number of different stocks that can be designated by a 4-letter or 5-letter code that is created by using the 26 letters of the alphabet. Number of 5-letter codes:

26 x 26 x 26 x 26 x 26 = 26^5

Number of 4-letter codes:

26 x 26 x 26 x 26 = 26^4

Since the stocks can be designated by a 4-letter OR 5-letter code, we must add our results together to determine the maximum number of codes that can be created.

26^5 + 26^4 = 26^4(26 + 1) = 26^4(27)

Answer: C
User avatar
Shbm
Joined: 20 Jun 2018
Last visit: 02 Dec 2020
Posts: 65
Own Kudos:
Given Kudos: 86
Location: India
Posts: 65
Kudos: 16
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Bunuel
All of the stocks on the over the counter market are designated by either a 4 letter or a 5 letter code that is created by using the 26 letters of the alphabet. Which of the following gives the maximum number of different stocks that can be desgnated with these codes?
A. 2 (26)^5
B. 26(26)^4
C. 27(26)^4
D. 26(26)^5
E. 27(26)^5

In 4-digit code {XXXX} each digit can take 26 values (as there are 26 letters), so total # of 4-digits code possible is 26^4;

The same for 5-digit code {XXXXX} again each digit can take 26 values (26 letters), so total # of 5-digits code possible is 26^5;

Total: \(26^4+26^5=26^4(1+26)=27*26^4\).

Answer: C.



I used the 26c4 multipled 26c5 and got the answer wrong. Whats the reason for this and when should we use this formula?
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 26 Mar 2025
Posts: 100,092
Own Kudos:
Given Kudos: 92,710
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 100,092
Kudos: 711,143
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Shbm
Bunuel
All of the stocks on the over the counter market are designated by either a 4 letter or a 5 letter code that is created by using the 26 letters of the alphabet. Which of the following gives the maximum number of different stocks that can be desgnated with these codes?
A. 2 (26)^5
B. 26(26)^4
C. 27(26)^4
D. 26(26)^5
E. 27(26)^5

In 4-digit code {XXXX} each digit can take 26 values (as there are 26 letters), so total # of 4-digits code possible is 26^4;

The same for 5-digit code {XXXXX} again each digit can take 26 values (26 letters), so total # of 5-digits code possible is 26^5;

Total: \(26^4+26^5=26^4(1+26)=27*26^4\).

Answer: C.



I used the 26c4 multipled 26c5 and got the answer wrong. Whats the reason for this and when should we use this formula?

26C4 gives the number of unordered groups of 4 different letters out of 26. For one, the order matters, {a, b, c, d} code is different from {b, a, c, d} code. Also, the letters could be repeated in the code, and 26C4 gives groups of 4 different letters. Finally, multiplying is wrong because 4-letter codes and 5-letter codes are different cases, so the number of possible codes should be added not multiplied.

Hope it's clear.
User avatar
Shbm
Joined: 20 Jun 2018
Last visit: 02 Dec 2020
Posts: 65
Own Kudos:
Given Kudos: 86
Location: India
Posts: 65
Kudos: 16
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Bunuel
Shbm
Bunuel
All of the stocks on the over the counter market are designated by either a 4 letter or a 5 letter code that is created by using the 26 letters of the alphabet. Which of the following gives the maximum number of different stocks that can be desgnated with these codes?
A. 2 (26)^5
B. 26(26)^4
C. 27(26)^4
D. 26(26)^5
E. 27(26)^5

In 4-digit code {XXXX} each digit can take 26 values (as there are 26 letters), so total # of 4-digits code possible is 26^4;

The same for 5-digit code {XXXXX} again each digit can take 26 values (26 letters), so total # of 5-digits code possible is 26^5;

Total: \(26^4+26^5=26^4(1+26)=27*26^4\).

Answer: C.



I used the 26c4 multipled 26c5 and got the answer wrong. Whats the reason for this and when should we use this formula?

26C4 gives the number of unordered groups of 4 different letters out of 26. For one, the order matters, {a, b, c, d} code is different from {b, a, c, d} code. Also, the letters could be repeated in the code, and 26C4 gives groups of 4 different letters. Finally, multiplying is wrong because 4-letter codes and 5-letter codes are different cases, so the number of possible codes should be added not multiplied.

Hope it's clear.



thanks bossman. are these type of questions generally placed in the 700 level category or can be a product of the 600-700 level?
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 26 Mar 2025
Posts: 100,092
Own Kudos:
711,143
 [1]
Given Kudos: 92,710
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 100,092
Kudos: 711,143
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Shbm
Bunuel
Shbm
I used the 26c4 multipled 26c5 and got the answer wrong. Whats the reason for this and when should we use this formula?

26C4 gives the number of unordered groups of 4 different letters out of 26. For one, the order matters, {a, b, c, d} code is different from {b, a, c, d} code. Also, the letters could be repeated in the code, and 26C4 gives groups of 4 different letters. Finally, multiplying is wrong because 4-letter codes and 5-letter codes are different cases, so the number of possible codes should be added not multiplied.

Hope it's clear.



thanks bossman. are these type of questions generally placed in the 700 level category or can be a product of the 600-700 level?

It depends. This one for example, is 600-700 level question. You can check different level combination's questions in our questions ban: https://gmatclub.com/forum/search.php?view=search_tags

Hope it helps.
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 26 Mar 2025
Posts: 100,092
Own Kudos:
711,143
 [2]
Given Kudos: 92,710
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 100,092
Kudos: 711,143
 [2]
Kudos
Add Kudos
2
Bookmarks
Bookmark this Post
User avatar
kadamhari825
Joined: 21 Mar 2019
Last visit: 16 Jan 2022
Posts: 64
Own Kudos:
Given Kudos: 1,049
Location: India
GMAT 1: 640 Q45 V35
GMAT 2: 660 Q47 V34
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Hello experts
Bunuel, VeritasKarishma, chetan2u, scott Woodbury-Stewart

Can you please explain?
Why we are repeating the same letters even we want different codes and why not 26*25*24*23+26*25*24*23*22?

Thanks in advance
User avatar
chetan2u
User avatar
GMAT Expert
Joined: 02 Aug 2009
Last visit: 24 Mar 2025
Posts: 11,344
Own Kudos:
39,786
 [1]
Given Kudos: 333
Status:Math and DI Expert
Products:
Expert
Expert reply
Posts: 11,344
Kudos: 39,786
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
kadamhari825
Hello experts
Bunuel, VeritasKarishma, chetan2u, scott Woodbury-Stewart

Can you please explain?
Why we are repeating the same letters even we want different codes and why not 26*25*24*23+26*25*24*23*22?

Thanks in advance


Different codes would not mean all different letters.

AAAAB is different from BAAAA
User avatar
kadamhari825
Joined: 21 Mar 2019
Last visit: 16 Jan 2022
Posts: 64
Own Kudos:
Given Kudos: 1,049
Location: India
GMAT 1: 640 Q45 V35
GMAT 2: 660 Q47 V34
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Here i am taking 3 letters( A, B, C) to make 3 letter code.
possible 3 letter codes are

AAA
ABB
ACC
AAC
AAB
ABC
ACB
ABA
ACA

BBB
BAA
BCC
BBA
BBC
BAC
BCA
BCB
BAB

CCC
CBB
CAA
CBA
CAB
CCA
CCB
CAC
CBC

total 9+9+9=27 possible codes( 3*3*3=27)
chetan2u, Bunuel can we apply same analogy to the above problem as well?

Thanks
User avatar
chetan2u
User avatar
GMAT Expert
Joined: 02 Aug 2009
Last visit: 24 Mar 2025
Posts: 11,344
Own Kudos:
Given Kudos: 333
Status:Math and DI Expert
Products:
Expert
Expert reply
Posts: 11,344
Kudos: 39,786
Kudos
Add Kudos
Bookmarks
Bookmark this Post
kadamhari825
Here i am taking 3 letters( A, B, C) to make 3 letter code.
possible 3 letter codes are

AAA
ABB
ACC
AAC
AAB
ABC
ACB
ABA
ACA

BBB
BAA
BCC
BBA
BBC
BAC
BCA
BCB
BAB

CCC
CBB
CAA
CBA
CAB
CCA
CCB
CAC
CBC

total 9+9+9=27 possible codes( 3*3*3=27)
chetan2u, Bunuel can we apply same analogy to the above problem as well?

Thanks


Yes, that is correct.
Each place: any of three so 3*3*3
User avatar
kaveree
Joined: 21 Sep 2024
Last visit: 23 Jan 2025
Posts: 5
Given Kudos: 7
Posts: 5
Kudos: 0
Kudos
Add Kudos
Bookmarks
Bookmark this Post
how come we can't solve this using the nPr formula? it should work right since order matters - but I didn't get the right answer that way I was stuck at this
26x25x24x23+26x25x24x23x22
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 26 Mar 2025
Posts: 100,092
Own Kudos:
Given Kudos: 92,710
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 100,092
Kudos: 711,143
Kudos
Add Kudos
Bookmarks
Bookmark this Post
kaveree
how come we can't solve this using the nPr formula? it should work right since order matters - but I didn't get the right answer that way I was stuck at this
26x25x24x23+26x25x24x23x22

Your doubt is addressed in the topic, but here it is again: the letters can repeat, so it's not 26x25x24x23, but rather 26^4, and it's not 26x25x24x23x22, but rather 26^5. Please review the discussion above more carefully.
Moderators:
Math Expert
100092 posts
PS Forum Moderator
517 posts