Last visit was: 26 Apr 2024, 03:48 It is currently 26 Apr 2024, 03:48

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
SORT BY:
Date
Tags:
Show Tags
Hide Tags
User avatar
Intern
Intern
Joined: 30 Aug 2010
Posts: 13
Own Kudos [?]: 209 [19]
Given Kudos: 2
Send PM
Most Helpful Reply
User avatar
Intern
Intern
Joined: 30 Aug 2010
Posts: 13
Own Kudos [?]: 209 [6]
Given Kudos: 2
Send PM
General Discussion
User avatar
Intern
Intern
Joined: 30 Aug 2010
Posts: 13
Own Kudos [?]: 209 [3]
Given Kudos: 2
Send PM
User avatar
Retired Moderator
Joined: 02 Sep 2010
Posts: 615
Own Kudos [?]: 2931 [3]
Given Kudos: 25
Location: London
 Q51  V41
Send PM
Re: A Four digit safe code does not contain the digits 1 and 4.. [#permalink]
3
Kudos
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
Retired Moderator
Joined: 02 Sep 2010
Posts: 615
Own Kudos [?]: 2931 [0]
Given Kudos: 25
Location: London
 Q51  V41
Send PM
Re: A Four digit safe code does not contain the digits 1 and 4.. [#permalink]
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
Retired Moderator
Joined: 02 Sep 2010
Posts: 615
Own Kudos [?]: 2931 [1]
Given Kudos: 25
Location: London
 Q51  V41
Send PM
Re: A Four digit safe code does not contain the digits 1 and 4.. [#permalink]
1
Kudos
rraggio wrote:
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
SVP
SVP
Joined: 12 Oct 2009
Status:<strong>Nothing comes easy: neither do I want.</strong>
Posts: 2279
Own Kudos [?]: 3595 [4]
Given Kudos: 235
Location: Malaysia
Concentration: Technology, Entrepreneurship
Schools: ISB '15 (M)
GMAT 1: 670 Q49 V31
GMAT 2: 710 Q50 V35
Send PM
Re: A Four digit safe code does not contain the digits 1 and 4.. [#permalink]
3
Kudos
1
Bookmarks
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
Manager
Manager
Joined: 20 Jul 2010
Posts: 137
Own Kudos [?]: 247 [1]
Given Kudos: 9
Send PM
Re: A Four digit safe code does not contain the digits 1 and 4.. [#permalink]
1
Kudos
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
Intern
Intern
Joined: 10 Oct 2010
Posts: 16
Own Kudos [?]: 84 [1]
Given Kudos: 1
Location: Texas
 Q50  V40 GMAT 2: 760  Q51  V42
GPA: 3.92
Send PM
Re: A Four digit safe code does not contain the digits 1 and 4.. [#permalink]
1
Kudos
rraggio wrote:
A four digit safe code

Permutation
(_)(_)(_)(_)

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

rraggio wrote:
does not contain the digits 1 and 4 at all.

Bag of 8 choices w/ replacement.

rraggio wrote:
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 wrote:
a) ¼
b) ½
c) ¾
d) 15/16
e) 1/16


ANS: D
User avatar
Current Student
Joined: 18 Oct 2014
Posts: 680
Own Kudos [?]: 1763 [0]
Given Kudos: 69
Location: United States
GMAT 1: 660 Q49 V31
GPA: 3.98
Send PM
Re: A Four digit safe code does not contain the digits 1 and 4.. [#permalink]
rraggio wrote:
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
Manager
Manager
Joined: 03 Jul 2017
Status:IF YOU CAN DREAM IT, YOU CAN DO IT
Posts: 147
Own Kudos [?]: 33 [0]
Given Kudos: 27
Location: India
Concentration: Finance, International Business
Send PM
Re: A Four digit safe code does not contain the digits 1 and 4.. [#permalink]
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 ?
Math Expert
Joined: 02 Sep 2009
Posts: 92929
Own Kudos [?]: 619116 [0]
Given Kudos: 81609
Send PM
Re: A Four digit safe code does not contain the digits 1 and 4.. [#permalink]
Expert Reply
longhaul123 wrote:
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,
Target Test Prep Representative
Joined: 14 Oct 2015
Status:Founder & CEO
Affiliations: Target Test Prep
Posts: 18761
Own Kudos [?]: 22055 [1]
Given Kudos: 283
Location: United States (CA)
Send PM
Re: A Four digit safe code does not contain the digits 1 and 4.. [#permalink]
1
Bookmarks
Expert Reply
rraggio wrote:
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
Intern
Intern
Joined: 29 Jul 2009
Posts: 25
Own Kudos [?]: 22 [0]
Given Kudos: 15
Send PM
Re: A Four digit safe code does not contain the digits 1 and 4.. [#permalink]
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 wrote:
rraggio wrote:
A four digit safe code

Permutation
(_)(_)(_)(_)

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

rraggio wrote:
does not contain the digits 1 and 4 at all.

Bag of 8 choices w/ replacement.

rraggio wrote:
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 wrote:
a) ¼
b) ½
c) ¾
d) 15/16
e) 1/16


ANS: D
Intern
Intern
Joined: 19 Dec 2017
Posts: 6
Own Kudos [?]: 2 [0]
Given Kudos: 0
Send PM
Re: A Four digit safe code does not contain the digits 1 and 4.. [#permalink]
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
e-GMAT Representative
Joined: 04 Jan 2015
Posts: 3726
Own Kudos [?]: 16843 [0]
Given Kudos: 165
Send PM
Re: A Four digit safe code does not contain the digits 1 and 4.. [#permalink]
Expert Reply

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
GMAT Club Legend
GMAT Club Legend
Joined: 18 Aug 2017
Status:You learn more from failure than from success.
Posts: 8020
Own Kudos [?]: 4098 [0]
Given Kudos: 242
Location: India
Concentration: Sustainability, Marketing
GMAT Focus 1:
545 Q79 V79 DI73
GPA: 4
WE:Marketing (Energy and Utilities)
Send PM
A Four digit safe code does not contain the digits 1 and 4.. [#permalink]
rraggio wrote:
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
Non-Human User
Joined: 09 Sep 2013
Posts: 32681
Own Kudos [?]: 822 [0]
Given Kudos: 0
Send PM
Re: A Four digit safe code does not contain the digits 1 and 4.. [#permalink]
Hello from the GMAT Club BumpBot!

Thanks to another GMAT Club member, I have just discovered this valuable topic, yet it had no discussion for over a year. I am now bumping it up - doing my job. I think you may find it valuable (esp those replies with Kudos).

Want to see all other topics I dig out? Follow me (click follow button on profile). You will receive a summary of all topics I bump in your profile area as well as via email.
GMAT Club Bot
Re: A Four digit safe code does not contain the digits 1 and 4.. [#permalink]
Moderators:
Math Expert
92929 posts
Senior Moderator - Masters Forum
3137 posts

Powered by phpBB © phpBB Group | Emoji artwork provided by EmojiOne