Last visit was: 19 Nov 2025, 12:17 It is currently 19 Nov 2025, 12:17
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
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 19 Nov 2025
Posts: 105,390
Own Kudos:
Given Kudos: 99,977
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 105,390
Kudos: 778,338
 [38]
5
Kudos
Add Kudos
33
Bookmarks
Bookmark this Post
Most Helpful Reply
User avatar
rajatchopra1994
Joined: 16 Feb 2015
Last visit: 22 Jun 2024
Posts: 1,056
Own Kudos:
1,252
 [5]
Given Kudos: 30
Location: United States
Posts: 1,056
Kudos: 1,252
 [5]
4
Kudos
Add Kudos
1
Bookmarks
Bookmark this Post
General Discussion
User avatar
Archit3110
User avatar
Major Poster
Joined: 18 Aug 2017
Last visit: 19 Nov 2025
Posts: 8,422
Own Kudos:
4,982
 [2]
Given Kudos: 243
Status:You learn more from failure than from success.
Location: India
Concentration: Sustainability, Marketing
GMAT Focus 1: 545 Q79 V79 DI73
GMAT Focus 2: 645 Q83 V82 DI81
GPA: 4
WE:Marketing (Energy)
GMAT Focus 2: 645 Q83 V82 DI81
Posts: 8,422
Kudos: 4,982
 [2]
1
Kudos
Add Kudos
1
Bookmarks
Bookmark this Post
User avatar
Kinshook
User avatar
Major Poster
Joined: 03 Jun 2019
Last visit: 19 Nov 2025
Posts: 5,794
Own Kudos:
5,510
 [3]
Given Kudos: 161
Location: India
GMAT 1: 690 Q50 V34
WE:Engineering (Transportation)
Products:
GMAT 1: 690 Q50 V34
Posts: 5,794
Kudos: 5,510
 [3]
3
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Bunuel
Chris gave Brian a four-digit code to disarm Chris’s security system. However, when Brian typed in the code, it didn’t work. If Brian realizes that Chris must have written exactly one digit incorrectly, but Brian does not know which digit is incorrect or what its correct value is, how many more attempts will Brian need to guarantee that he identifies the correct four-digit code?

A. 36
B. 39
C. 3,024
D. 6,561
E. 9,999


Are You Up For the Challenge: 700 Level Questions

Total number of ways = 4 * 9 = 36 since CCCW can be arranged in 4 ways and W can be corrected in 9 ways.


IMO A
avatar
aarushisingla
Joined: 23 May 2019
Last visit: 12 Sep 2022
Posts: 39
Own Kudos:
16
 [1]
Given Kudos: 58
Posts: 39
Kudos: 16
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Hi,

How can 0 be in the thousands place because if it would be , then it will make 3-digit code.
I guess it should be 9*3 (because there are 9 numbers and since 0 cannot taken thousands place it will not be counted.)
Hence, for thousands place, there should be 8 numbers (excluding 0)

So, Total ways = 27 + 8 = 35.

Please tell me if I am wrong.
User avatar
rajatchopra1994
Joined: 16 Feb 2015
Last visit: 22 Jun 2024
Posts: 1,056
Own Kudos:
1,252
 [1]
Given Kudos: 30
Location: United States
Posts: 1,056
Kudos: 1,252
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
aarushisingla
Hi,

How can 0 be in the thousands place because if it would be , then it will make 3-digit code.
I guess it should be 9*3 (because there are 9 numbers and since 0 cannot taken thousands place it will not be counted.)
Hence, for thousands place, there should be 8 numbers (excluding 0)

So, Total ways = 27 + 8 = 35.

Please tell me if I am wrong.

Hi aarushisingla ,

0-9 are 10 digits and the one W is not correct so we have 9 digits left
Since In Lock , 0 can be also put. Lock Password can be 0000 or 0900 or 0090 or 0000.

Hope U got my Point. Please Do PM , if You didn't get it.

Regards,
Rajat Chopra
User avatar
ScottTargetTestPrep
User avatar
Target Test Prep Representative
Joined: 14 Oct 2015
Last visit: 19 Nov 2025
Posts: 21,716
Own Kudos:
26,996
 [4]
Given Kudos: 300
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: 21,716
Kudos: 26,996
 [4]
4
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Bunuel
Chris gave Brian a four-digit code to disarm Chris’s security system. However, when Brian typed in the code, it didn’t work. If Brian realizes that Chris must have written exactly one digit incorrectly, but Brian does not know which digit is incorrect or what its correct value is, how many more attempts will Brian need to guarantee that he identifies the correct four-digit code?

A. 36
B. 39
C. 3,024
D. 6,561
E. 9,999


Are You Up For the Challenge: 700 Level Questions

Suppose that Brian typed in “0000”. From the information given to us, we understand that the correct code contains three digits of “0” and one non-zero digit.

If the first digit is incorrect, the correct code could be any one of 1000, 2000, …, 9000 (nine codes).

Similarly, if the second digit is wrong, the correct code could be any one of 0100, 0200, …, 0900 (nine codes). Following the same logic, we see that If the third or fourth digits are wrong, there will be 9 possibilities for the correct code in each case.

Thus, to guarantee that Brian identifies the correct code, he needs to try at most 9 + 9 + 9 + 9 = 36 codes.

Note: Technically, if he only needs to “identify” the correct code, he needs at most 35 attempts. If he does not get the correct code in the first 35 attempts, he can then be sure that the correct code is the only remaining code that he did not try.

Answer: A
User avatar
altairahmad
Joined: 27 Mar 2017
Last visit: 29 Jul 2021
Posts: 263
Own Kudos:
Given Kudos: 406
Location: Saudi Arabia
GMAT 1: 700 Q47 V39
GPA: 3.36
Products:
GMAT 1: 700 Q47 V39
Posts: 263
Kudos: 87
Kudos
Add Kudos
Bookmarks
Bookmark this Post
ScottTargetTestPrep Bunuel Kinshook

Please one basic confusion

Only one digit W (0-9) will be correct and only 1 arrangement will be correct from following 4 arrangements right ?

WCCC , CWCC, CCWC, CCCW

So doesn't it mean that he will have to try 10 x 3 (3 wrong arrangements with full 10 digits) + 9 (1 correct arrangement with 1 correct digit) = 39 attempts ?
avatar
kendannedy
Joined: 20 Nov 2019
Last visit: 18 Apr 2020
Posts: 3
Own Kudos:
5
 [1]
Location: Canada
Concentration: Operations, Human Resources
GMAT 1: 610 Q43 V31
GMAT 2: 680 Q46 V38
WE:Project Management (Computer Software)
GMAT 2: 680 Q46 V38
Posts: 3
Kudos: 5
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
altairahmad


Please one basic confusion

Only one digit W (0-9) will be correct and only 1 arrangement will be correct from following 4 arrangements right ?

WCCC , CWCC, CCWC, CCCW

So doesn't it mean that he will have to try 10 x 3 (3 wrong arrangements with full 10 digits) + 9 (1 correct arrangement with 1 correct digit) = 39 attempts ?

Lets say the correct code is 0009. You are given 0000. Start from the beginning (left) and work your way to the right.

You try 0000 initially (from the question) and that doesn't work. So you try nine more times: 1000, 2000, ...., 9000. Okay, they all didn't work, so try the 2nd digit now.

You don't need to try 0000 again since you did that already. You try 0100, 0200, 0300, 0400, ...., 0900. None of those work, so try the 3rd digit.

You don't need to try 0000 again since you did that already. You try 0010, 0020, 0030,....., 0090. None of those work so you try the 4th digit.

You don't need to try 0000 again since you did that already. You try 0001, 0002, 0003, and then on the last try (you're very unlucky!) 0009 works!

So 36 additional tries were needed.
User avatar
ScottTargetTestPrep
User avatar
Target Test Prep Representative
Joined: 14 Oct 2015
Last visit: 19 Nov 2025
Posts: 21,716
Own Kudos:
26,996
 [2]
Given Kudos: 300
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: 21,716
Kudos: 26,996
 [2]
1
Kudos
Add Kudos
1
Bookmarks
Bookmark this Post
altairahmad
ScottTargetTestPrep Bunuel Kinshook

Please one basic confusion

Only one digit W (0-9) will be correct and only 1 arrangement will be correct from following 4 arrangements right ?

WCCC , CWCC, CCWC, CCCW

So doesn't it mean that he will have to try 10 x 3 (3 wrong arrangements with full 10 digits) + 9 (1 correct arrangement with 1 correct digit) = 39 attempts ?

Your reasoning is almost correct, just notice that there are not 10 but 9 possibilities for W in each case. It is given that Brian tries a code which does not work. For each of the arrangements WCCC, CWCC, CCWC and CCCW; Brian does not need to consider one digit because of that one code he tried in the beginning. For instance, suppose Brian tried 0000 in the beginning and the actual code was 0009. For the arrangement WCCC, Brian only needs to test the values 1-9 for W. For the arrangement CWCC, again he needs to only test 1-9, etc.

Thus, if you decrease the number of options for W by 1 and do the same calculation again, you will get the correct answer of 9 + 9 + 9 + 9 = 36 more tries.
User avatar
chetan2u
User avatar
GMAT Expert
Joined: 02 Aug 2009
Last visit: 15 Nov 2025
Posts: 11,238
Own Kudos:
43,705
 [1]
Given Kudos: 335
Status:Math and DI Expert
Location: India
Concentration: Human Resources, General Management
GMAT Focus 1: 735 Q90 V89 DI81
Products:
Expert
Expert reply
GMAT Focus 1: 735 Q90 V89 DI81
Posts: 11,238
Kudos: 43,705
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Bunuel
Chris gave Brian a four-digit code to disarm Chris’s security system. However, when Brian typed in the code, it didn’t work. If Brian realizes that Chris must have written exactly one digit incorrectly, but Brian does not know which digit is incorrect or what its correct value is, how many more attempts will Brian need to guarantee that he identifies the correct four-digit code?

A. 36
B. 39
C. 3,024
D. 6,561
E. 9,999


Are You Up For the Challenge: 700 Level Questions

Let the number entered be 0001, which is a wrong code.

Worst case scenario is that the code is 0000, and he checks the digits from left to right and in ascending order.


The first will be 1001 to 9001.......9 ways.
Next will be 0101 for the second digit till 0901....9 ways
Similarly 9 ways for third digit, and last number checked will be 0091.
Next for the 4th digit, we will start from 0002 and go upto 0009......8 ways

If we are still not able to open it, the correct code has to be 0000, and we do not require to test it.
Thus, we require 35 MORE attempts to IDENTIFY the correct code.

The question is wrongly worded. It should have been: how many more attempts will Brian need to guarantee that he opens the security system.
User avatar
armaankumar
Joined: 10 Jun 2020
Last visit: 18 Apr 2024
Posts: 103
Own Kudos:
Given Kudos: 104
Location: India
GMAT 1: 610 Q41 V33 (Online)
GMAT 2: 650 Q47 V33 (Online)
GPA: 3.4
GMAT 2: 650 Q47 V33 (Online)
Posts: 103
Kudos: 68
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Could someone tell whether this is an acceptable solution:
->There are 40 ways in which he can try a different code.
->4 of those ways would be repeated.
Final Answer: 40-4=36 ways.
User avatar
Fdambro294
Joined: 10 Jul 2019
Last visit: 20 Aug 2025
Posts: 1,350
Own Kudos:
742
 [1]
Given Kudos: 1,656
Posts: 1,350
Kudos: 742
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
ScottTargetTestPrep
Bunuel
Chris gave Brian a four-digit code to disarm Chris’s security system. However, when Brian typed in the code, it didn’t work. If Brian realizes that Chris must have written exactly one digit incorrectly, but Brian does not know which digit is incorrect or what its correct value is, how many more attempts will Brian need to guarantee that he identifies the correct four-digit code?

A. 36
B. 39
C. 3,024
D. 6,561
E. 9,999


Are You Up For the Challenge: 700 Level Questions

Suppose that Brian typed in “0000”. From the information given to us, we understand that the correct code contains three digits of “0” and one non-zero digit.

If the first digit is incorrect, the correct code could be any one of 1000, 2000, …, 9000 (nine codes).

Similarly, if the second digit is wrong, the correct code could be any one of 0100, 0200, …, 0900 (nine codes). Following the same logic, we see that If the third or fourth digits are wrong, there will be 9 possibilities for the correct code in each case.

Thus, to guarantee that Brian identifies the correct code, he needs to try at most 9 + 9 + 9 + 9 = 36 codes.

Note: Technically, if he only needs to “identify” the correct code, he needs at most 35 attempts. If he does not get the correct code in the first 35 attempts, he can then be sure that the correct code is the only remaining code that he did not try.

Answer: A

In agreement.

When he enters the 35th attempt, at that point he would know that the next code he types in will work. Therefore, he shouldn’t have to type it in.

The correct code has been “identified.”

Be that as it may, the answer can not be more than 36, so A.

Posted from my mobile device
User avatar
AnthonyRitz
User avatar
Stacy Blackman Consulting Director of Test Prep
Joined: 21 Dec 2014
Last visit: 16 Nov 2025
Posts: 238
Own Kudos:
427
 [4]
Given Kudos: 169
Affiliations: Stacy Blackman Consulting
Location: United States (DC)
GMAT 1: 790 Q51 V51
GRE 1: Q170 V170
GRE 2: Q170 V170
GPA: 3.11
WE:Education (Education)
GMAT 1: 790 Q51 V51
GRE 1: Q170 V170
GRE 2: Q170 V170
Posts: 238
Kudos: 427
 [4]
4
Kudos
Add Kudos
Bookmarks
Bookmark this Post
You caught me! We later fixed the wording, but unfortunately GMAT Club is forever, and I have no way to edit the wording in this problem. But you're totally right; it should say "to guarantee that he types in the correct four-digit code." Kudos!


chetan2u


Let the number entered be 0001, which is a wrong code.

Worst case scenario is that the code is 0000, and he checks the digits from left to right and in ascending order.


The first will be 1001 to 9001.......9 ways.
Next will be 0101 for the second digit till 0901....9 ways
Similarly 9 ways for third digit, and last number checked will be 0091.
Next for the 4th digit, we will start from 0002 and go upto 0009......8 ways

If we are still not able to open it, the correct code has to be 0000, and we do not require to test it.
Thus, we require 35 MORE attempts to IDENTIFY the correct code.

The question is wrongly worded. It should have been: how many more attempts will Brian need to guarantee that he opens the security system.
User avatar
Saviooo
Joined: 20 Apr 2025
Last visit: 19 Nov 2025
Posts: 4
Own Kudos:
Given Kudos: 3
Location: India
Concentration: Finance, Entrepreneurship
WE:Education (Other)
Posts: 4
Kudos: 5
Kudos
Add Kudos
Bookmarks
Bookmark this Post
since CCCW can be arranged in 4 ways and W can be corrected in 9 ways.
Total number of ways = 4 * 9 = 36
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 19 Nov 2025
Posts: 105,390
Own Kudos:
Given Kudos: 99,977
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 105,390
Kudos: 778,338
Kudos
Add Kudos
Bookmarks
Bookmark this Post
AnthonyRitz
You caught me! We later fixed the wording, but unfortunately GMAT Club is forever, and I have no way to edit the wording in this problem. But you're totally right; it should say "to guarantee that he types in the correct four-digit code." Kudos!




Fixed the issue. Thank you!
User avatar
chetan2u
User avatar
GMAT Expert
Joined: 02 Aug 2009
Last visit: 15 Nov 2025
Posts: 11,238
Own Kudos:
Given Kudos: 335
Status:Math and DI Expert
Location: India
Concentration: Human Resources, General Management
GMAT Focus 1: 735 Q90 V89 DI81
Products:
Expert
Expert reply
GMAT Focus 1: 735 Q90 V89 DI81
Posts: 11,238
Kudos: 43,705
Kudos
Add Kudos
Bookmarks
Bookmark this Post
AnthonyRitz
You caught me! We later fixed the wording, but unfortunately GMAT Club is forever, and I have no way to edit the wording in this problem. But you're totally right; it should say "to guarantee that he types in the correct four-digit code." Kudos!



Thanks Anthony 😊
Bunuel seems to have already fixed it.
User avatar
agrasan
Joined: 18 Jan 2024
Last visit: 19 Nov 2025
Posts: 534
Own Kudos:
Given Kudos: 5,193
Location: India
Products:
Posts: 534
Kudos: 130
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Hi KarishmaB MartyMurray chetan2u

Is the below logic wrong because we are given that only one digit is entered incorrectly? Please let me know if any other reason why the below answer is wrong.
Total Tries needed = 10 X 10 X 10 X 10 - 1 = 9999
User avatar
KarishmaB
Joined: 16 Oct 2010
Last visit: 19 Nov 2025
Posts: 16,267
Own Kudos:
76,999
 [1]
Given Kudos: 482
Location: Pune, India
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 16,267
Kudos: 76,999
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Yes, this assumes that any other 4 digit code is possible (except the one he has in his hand)
Say he has 2314.
Your logic assumes that 1785 is possible. But is it? No. Only 1 digit is wrong.

agrasan
Hi KarishmaB MartyMurray chetan2u

Is the below logic wrong because we are given that only one digit is entered incorrectly? Please let me know if any other reason why the below answer is wrong.
Total Tries needed = 10 X 10 X 10 X 10 - 1 = 9999
Moderators:
Math Expert
105390 posts
Tuck School Moderator
805 posts