-
dddanny2006
- Master | Next Rank: 500 Posts
- Posts: 209
- Joined: Thu Jan 12, 2012 12:59 pm
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
Here's my method to do it.
Digits allowed-0,2,3,5,6,7,8,9
No of possible arrangements=8*8*8*8=2096 -----Order matters since its a code but I dont understand what if the code contains the same numbers?
There are 4 conditions possible
1.All numbers are even =4*4*4*4=256
2.3 numbers are even,one is odd =4*4*4*4=256
3.2 are even,2 are odd=4*4*4*4=256
4.1 is even,3 are odd=4*4*4*4=256
256+256+256+256=1024
Therefore 1024/4096 equals 1/4.
Why am I wrong?
Lets look at another problem below-
How many four digit numbers that do not contain the digits 3 or 6 are there?
a 2401 b 3584 c 4096 d 5040 e 7200
7.8.8.8 = 3584
My approach has got to be correct since most problems that Ive solved using the slot method I have got the right answer.
a) ¼
b) ½
c) ¾
d) 15/16
e) 1/16
Here's my method to do it.
Digits allowed-0,2,3,5,6,7,8,9
No of possible arrangements=8*8*8*8=2096 -----Order matters since its a code but I dont understand what if the code contains the same numbers?
There are 4 conditions possible
1.All numbers are even =4*4*4*4=256
2.3 numbers are even,one is odd =4*4*4*4=256
3.2 are even,2 are odd=4*4*4*4=256
4.1 is even,3 are odd=4*4*4*4=256
256+256+256+256=1024
Therefore 1024/4096 equals 1/4.
Why am I wrong?
Lets look at another problem below-
How many four digit numbers that do not contain the digits 3 or 6 are there?
a 2401 b 3584 c 4096 d 5040 e 7200
7.8.8.8 = 3584
My approach has got to be correct since most problems that Ive solved using the slot method I have got the right answer.













