Last visit was: 24 Apr 2026, 22:44 It is currently 24 Apr 2026, 22:44
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
rraggio
Joined: 30 Aug 2010
Last visit: 14 Oct 2010
Posts: 13
Own Kudos:
247
 [25]
Given Kudos: 2
Posts: 13
Kudos: 247
 [25]
6
Kudos
Add Kudos
19
Bookmarks
Bookmark this Post
Most Helpful Reply
User avatar
rraggio
Joined: 30 Aug 2010
Last visit: 14 Oct 2010
Posts: 13
Own Kudos:
247
 [6]
Given Kudos: 2
Posts: 13
Kudos: 247
 [6]
3
Kudos
Add Kudos
2
Bookmarks
Bookmark this Post
General Discussion
User avatar
rraggio
Joined: 30 Aug 2010
Last visit: 14 Oct 2010
Posts: 13
Own Kudos:
247
 [4]
Given Kudos: 2
Posts: 13
Kudos: 247
 [4]
2
Kudos
Add Kudos
2
Bookmarks
Bookmark this Post
User avatar
shrouded1
User avatar
Retired Moderator
Joined: 02 Sep 2010
Last visit: 29 Apr 2018
Posts: 608
Own Kudos:
3,231
 [3]
Given Kudos: 25
Location: London
Products:
Posts: 608
Kudos: 3,231
 [3]
3
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Combinatorial Solution

No of ways to form code with atleast 1 even digit = Total Ways - No of ways to form code with only odd digits

The digits available are {5,6,7,8,9,0}

Total ways are 6x6x6x6 = 6^4

Ways using only odd digits = 3x3x3x3 = 3^4

Therefore Probability = \(\frac{6^4 - 3^4}{6^4} = 1 - \frac{3^4}{6^4} = 1 - (1/2)^4 = 15/16\)
User avatar
shrouded1
User avatar
Retired Moderator
Joined: 02 Sep 2010
Last visit: 29 Apr 2018
Posts: 608
Own Kudos:
Given Kudos: 25
Location: London
Products:
Posts: 608
Kudos: 3,231
Kudos
Add Kudos
Bookmarks
Bookmark this Post
oh now i see it, i thought you said none of the digits from 1 to 4, but as you pointed out the solution remains the same.

The "direct combinatorial" approach as you call it will be painful in this case. You will need to calculate each of 1 even, 2 even, 3 even, all even. The terms are themselves probably easy enough to calculate, but simplifying will be a bit tedious to get the same answer
User avatar
shrouded1
User avatar
Retired Moderator
Joined: 02 Sep 2010
Last visit: 29 Apr 2018
Posts: 608
Own Kudos:
3,231
 [1]
Given Kudos: 25
Location: London
Products:
Posts: 608
Kudos: 3,231
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
rraggio
As already said in a previous post (out-of-a-box-that-contains-4-black-and-6-white-mice-101375.html), I'm experiencing some problems with probability and combinations. So to understand better these arguments, I need to solve the problem in several ways. Unfortunately approaches 2 and 4 are missing. Could you help me?

1) probability approach:
Probability of at least one even digit = Probability of one even digit + Probability of two even digits + Probability of three even digits + Probability of four even digits
I have four even digits: 0,2,6,8 and four odd digits: 3,5,7,9
So the probability of even digit is \(1/2\), as well of odd digit.

P1 = \(1/2\)
P2 = \(1/2^2=1/4\)
P3 = \(1/2^3=1/8\)
P4 = \(1/2^4=1/16\)
P = P1+P2+P3+P4 = \(15/16\)

I know you got to the answer, but your approach isnt quite correct.

P1 = Probability of exactly 1 even digit = (1/2)^4 * C(4,1) = 4/16
P2 = Probability of exactly 2 even digits = (1/2)^4 * C(4,2) = 6/16
P3 = Probability of exactly 3 even digits = (1/2)^4 * C(4,3) = 4/16
P4 = Probability of 4 even digits = 1/16
P = P1+P2+P3+P4 = 15/16

You have calculated P1 as prob of at least 1 even digit, P2 as atleast 2 even digits etc. This is incorrect. Its only coincidence that the answer is correct.
User avatar
gurpreetsingh
Joined: 12 Oct 2009
Last visit: 15 Jun 2019
Posts: 2,266
Own Kudos:
3,962
 [4]
Given Kudos: 235
Status:<strong>Nothing comes easy: neither do I want.</strong>
Location: Malaysia
Concentration: Technology, Entrepreneurship
Schools: ISB '15 (M)
GMAT 1: 670 Q49 V31
GMAT 2: 710 Q50 V35
Products:
Schools: ISB '15 (M)
GMAT 2: 710 Q50 V35
Posts: 2,266
Kudos: 3,962
 [4]
3
Kudos
Add Kudos
1
Bookmarks
Bookmark this Post
probability of at least one even = 1-(probability of none even)

probability of none even = required cases/total cases

total cases = 8*8*8*8 as 0 2 3 5 6 7 8 9 all 8 can be taken for each digit

required cases = 4*4*4*4 as only 3 5 7 9 can be taken

probability of none even = \(\frac{4*4*4*4}{(8*8*8*8)}= \frac{1}{16}\)

probability of at least one even =\(1-\frac{1}{16} = \frac{15}{16}\)
User avatar
saxenashobhit
Joined: 20 Jul 2010
Last visit: 14 Nov 2013
Posts: 135
Own Kudos:
256
 [1]
Given Kudos: 9
Products:
Posts: 135
Kudos: 256
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
I solved the question thinking 1,2,3 and 4 are not allowed in safecode and got same answer :). My ratios were
3*3*3*3/(6*6*6*6). So by coincidence I got same answer :)
User avatar
cabelk
Joined: 10 Oct 2010
Last visit: 25 May 2011
Posts: 16
Own Kudos:
109
 [1]
Given Kudos: 1
Location: Texas
GPA: 3.92
Posts: 16
Kudos: 109
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
rraggio
A four digit safe code
Permutation
(_)(_)(_)(_)

Note: A safe code can have 0 as the thousands digit; a 4-digit number cannot.

rraggio

does not contain the digits 1 and 4 at all.
Bag of 8 choices w/ replacement.

rraggio

What is the probability that it has at least one even digit?
"At least" means Probability Table. Create and work backwards.

****************************
# of evens: Events
0:
1:
2:
3:
4:
----------------------------
Total =
****************************

Total = Fill in Permutation above = 8P4 = (8)(8)(8)(8)

4 evens:
4 evens pick 1 AND
4 evens pick 1 AND
4 evens pick 1 AND
4 evens pick 1 TIMES
the number of ways to arrange EEEE
= 4C1 * 4C1 * 4C1 * 4C1 * 4!/4! = 4*4*4*4 * 1

3 evens:
4 evens pick 1 AND
4 evens pick 1 AND
4 evens pick 1 AND
4 odds pick 1 TIMES
the number of ways to arrange EEEO
= 4C1 * 4C1 * 4C1 * 4C1 * 4!/3!1!= 4*4*4*4 * 4

2 evens:
4 evens pick 1 AND
4 evens pick 1 AND
4 odds pick 1 AND
4 odds pick 1 TIMES
the number of ways to arrange EEOO
= 4C1 * 4C1 * 4C1 * 4C1 * 4!/2!2! = 4*4*4*4 * 6

1 even:
4 evens pick 1 AND
4 odds pick 1 AND
4 odds pick 1 AND
4 odds pick 1 TIMES
the number of ways to arrange EOOO
= 4C1 * 4C1 * 4C1 * 4C1 * 4!/1!3! = 4*4*4*4 * 4


0 evens:
4 odds pick 1 AND
4 odds pick 1 AND
4 odds pick 1 AND
4 odds pick 1 TIMES
the number of ways to arrange OOOO
= 4C1 * 4C1 * 4C1 * 4C1 * 4!/4! = 4*4*4*4 * 1

****************************

# of evens: Events
0: 4*4*4*4*1
1: 4*4*4*4*4
2: 4*4*4*4*6
3: 4*4*4*4*4
4: 4*4*4*4*1
----------------------------
Total = 8*8*8*8 = 4*4*4*4*2*2*2*2 =4*4*4*4*16

****************************

Use the table info to answer any questions.
P(evens = 0) = 1/16
P(evens > 0) = (4+6+4+1)/16
etc.

rraggio

a) ¼
b) ½
c) ¾
d) 15/16
e) 1/16

ANS: D
User avatar
Divyadisha
User avatar
Current Student
Joined: 18 Oct 2014
Last visit: 01 Jun 2018
Posts: 660
Own Kudos:
Given Kudos: 69
Location: United States
GMAT 1: 660 Q49 V31
GPA: 3.98
GMAT 1: 660 Q49 V31
Posts: 660
Kudos: 1,958
Kudos
Add Kudos
Bookmarks
Bookmark this Post
rraggio
A four digit safe code does not contain the digits 1 and 4 at all. What is the probability that it has at least one even digit?

a) ¼
b) ½
c) ¾
d) 15/16
e) 1/16

Total available digits to make 4 digit code= 8 (excludes 1 and 4)

Probability of having at least one even digit= 1- probability of having all odd digits

Total ways to make 4 digit code= 8*8*8*8
Total ways of having only odd digits= 4*4*4*4
probability of having all odd digits= 4*4*4*4/8*8*8*8=1/16

Probability of having at least one even digit= 1- 1/16= 15/16

D is the answer
User avatar
longhaul123
Joined: 03 Jul 2017
Last visit: 11 Nov 2018
Posts: 138
Own Kudos:
Given Kudos: 27
Status:IF YOU CAN DREAM IT, YOU CAN DO IT
Location: India
Concentration: Finance, International Business
Posts: 138
Kudos: 37
Kudos
Add Kudos
Bookmarks
Bookmark this Post
The digits to be considered are 0,5,6,7,8,9 so the total is 6c4 =15 and having at least one even number is 4c1+4c2+4c3=14 Therefore the probability is 14/15. I know my approach is wrong . Can someone please tell me as to where am i going wrong ?
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 24 Apr 2026
Posts: 109,818
Own Kudos:
Given Kudos: 105,873
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 109,818
Kudos: 811,094
Kudos
Add Kudos
Bookmarks
Bookmark this Post
longhaul123
The digits to be considered are 0,5,6,7,8,9 so the total is 6c4 =15 and having at least one even number is 4c1+4c2+4c3=14 Therefore the probability is 14/15. I know my approach is wrong . Can someone please tell me as to where am i going wrong ?

The question says that "...code does not contain the digits 1 and 4 at all", not "from 1 through 4". Meaning that we can use 2 and 3,
User avatar
ScottTargetTestPrep
User avatar
Target Test Prep Representative
Joined: 14 Oct 2015
Last visit: 24 Apr 2026
Posts: 22,286
Own Kudos:
26,534
 [2]
Given Kudos: 302
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: 22,286
Kudos: 26,534
 [2]
Kudos
Add Kudos
2
Bookmarks
Bookmark this Post
rraggio
A four digit safe code does not contain the digits 1 and 4 at all. What is the probability that it has at least one even digit?

a) ¼
b) ½
c) ¾
d) 15/16
e) 1/16

We can use the following equation:

P(at least one even digit) = 1 - P(no even digits)

Since 1 and 4 cannot be used, we have 8 available digits (0, 2, 3, 5, 6, 7, 8, 9), and we see that 4 of those 8 digits are odd (3,5,7,9). Thus, P(no even digits) = 4/8 x 4/8 x 4/8 x 4/8 = (1/2)^4 = 1/16.

Thus, P(at least one even digit) = 1 - 1/16 = 15/16.

Answer: D
avatar
LalaLadduLal
Joined: 29 Jul 2009
Last visit: 11 Jan 2021
Posts: 25
Own Kudos:
Given Kudos: 15
GMAT 2: 700 Q49 V35
Posts: 25
Kudos: 22
Kudos
Add Kudos
Bookmarks
Bookmark this Post
How can all the 4 digits be filled with 8 combination. If it has to be a 4 digit number and 1,4 are not allowed then first digit of 4 digit number can only be filled by 7 numbers ( excepting 1,4, 0) , so shouldn't it be :

7*8*8*8

What am i missing here ?

cabelk
rraggio
A four digit safe code
Permutation
(_)(_)(_)(_)

Note: A safe code can have 0 as the thousands digit; a 4-digit number cannot.

rraggio

does not contain the digits 1 and 4 at all.
Bag of 8 choices w/ replacement.

rraggio

What is the probability that it has at least one even digit?
"At least" means Probability Table. Create and work backwards.

****************************
# of evens: Events
0:
1:
2:
3:
4:
----------------------------
Total =
****************************

Total = Fill in Permutation above = 8P4 = (8)(8)(8)(8)

4 evens:
4 evens pick 1 AND
4 evens pick 1 AND
4 evens pick 1 AND
4 evens pick 1 TIMES
the number of ways to arrange EEEE
= 4C1 * 4C1 * 4C1 * 4C1 * 4!/4! = 4*4*4*4 * 1

3 evens:
4 evens pick 1 AND
4 evens pick 1 AND
4 evens pick 1 AND
4 odds pick 1 TIMES
the number of ways to arrange EEEO
= 4C1 * 4C1 * 4C1 * 4C1 * 4!/3!1!= 4*4*4*4 * 4

2 evens:
4 evens pick 1 AND
4 evens pick 1 AND
4 odds pick 1 AND
4 odds pick 1 TIMES
the number of ways to arrange EEOO
= 4C1 * 4C1 * 4C1 * 4C1 * 4!/2!2! = 4*4*4*4 * 6

1 even:
4 evens pick 1 AND
4 odds pick 1 AND
4 odds pick 1 AND
4 odds pick 1 TIMES
the number of ways to arrange EOOO
= 4C1 * 4C1 * 4C1 * 4C1 * 4!/1!3! = 4*4*4*4 * 4


0 evens:
4 odds pick 1 AND
4 odds pick 1 AND
4 odds pick 1 AND
4 odds pick 1 TIMES
the number of ways to arrange OOOO
= 4C1 * 4C1 * 4C1 * 4C1 * 4!/4! = 4*4*4*4 * 1

****************************

# of evens: Events
0: 4*4*4*4*1
1: 4*4*4*4*4
2: 4*4*4*4*6
3: 4*4*4*4*4
4: 4*4*4*4*1
----------------------------
Total = 8*8*8*8 = 4*4*4*4*2*2*2*2 =4*4*4*4*16

****************************

Use the table info to answer any questions.
P(evens = 0) = 1/16
P(evens > 0) = (4+6+4+1)/16
etc.

rraggio

a) ¼
b) ½
c) ¾
d) 15/16
e) 1/16

ANS: D
avatar
Dinesh8y
Joined: 19 Dec 2017
Last visit: 07 May 2018
Posts: 6
Own Kudos:
Posts: 6
Kudos: 2
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Since repetition of digits is allowed, total number of ways 8 digits can be used = 2^8
Odd digits - 3,5,7,9
Even digits - 0,2,6,8
Ways in which all odd digits are used - 2^4
Probability of all odd digits being used = (2^4)/(2^8)=1/16
Probability of at least one even digit = 1-1/16=15/16
User avatar
EgmatQuantExpert
User avatar
e-GMAT Representative
Joined: 04 Jan 2015
Last visit: 02 Apr 2024
Posts: 3,657
Own Kudos:
Given Kudos: 165
Expert
Expert reply
Posts: 3,657
Kudos: 20,880
Kudos
Add Kudos
Bookmarks
Bookmark this Post

Solution



Given

    • A four-digit safe code without 1 and 4.

To Find

    • Probability it has at least one even digit.

Approach and Working Out

    • The digit presents can be,
      o 0, 2, 3, 5, 6, 7, 8, 9
    • Total number of codes possible = 8 × 8 × 8 × 8
      o As there are 8 choices for each place.
    • Number of codes with zero even digits, 4 × 4 × 4 × 4
      o As there are 4 odd numbers available.
    • Probability of getting no even digits,
      = (4 × 4 × 4 × 4) / (8 × 8 × 8 × 8)
      = 1/16
    • The probability of getting at least one even digit = 1 – (1/16) = 15/16

Correct Answer: Option D
User avatar
Archit3110
User avatar
Major Poster
Joined: 18 Aug 2017
Last visit: 24 Apr 2026
Posts: 8,629
Own Kudos:
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)
Products:
GMAT Focus 2: 645 Q83 V82 DI81
Posts: 8,629
Kudos: 5,190
Kudos
Add Kudos
Bookmarks
Bookmark this Post
rraggio
A four digit safe code does not contain the digits 1 and 4 at all. What is the probability that it has at least one even digit?

a) ¼
b) ½
c) ¾
d) 15/16
e) 1/16


total digits which are part of this combination ; ( 0,2,3,5,6,7,8,9) ; viz 8
and target is to find P atleast 1 even digit
total odd ; (3,5,7,9) ; 4
P of getting all odd (4/8)^4
and atleast 1 even (1-odd)
1-(4/8)^4 ; 16-1/16 ; 15/16
OPTION D
User avatar
bumpbot
User avatar
Non-Human User
Joined: 09 Sep 2013
Last visit: 04 Jan 2021
Posts: 38,978
Own Kudos:
Posts: 38,978
Kudos: 1,117
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Automated notice from GMAT Club BumpBot:

A member just gave Kudos to this thread, showing it’s still useful. I’ve bumped it to the top so more people can benefit. Feel free to add your own questions or solutions.

This post was generated automatically.
Moderators:
Math Expert
109818 posts
Tuck School Moderator
853 posts