Source-Magoosh
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? ---Why??
Now back to finding the desired possibilities
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.
Whenever Ive used the slot method if order matters I dont divide it by the number of interchangeable slots,if order doesnt matter I divide by the number of interchangeable slots.All the odd slots above are bolded and hence for each condition we've got to check the number of ways in which those slots can be further arranged--I was told this from another forum,I didnt know this.Im finding it hard to identify problems where we have to further multiply by the number of ways the slots can be further arranged .Isnt the permutation,supposed to get me all those possible conditions,without further multiplying?I otherwords cant those 256include all the possible arrangements?
Please help me with the above.
Also please clear the mystery around the 8*8*8*8=4096------Order shouldn't matter if the numbers are same,at the same time matter if the numbers are different.How do I go about this?
Also in the 4 conditions that Ive mentioned above where I got 256 each time,what arrangements are included in the 256?,since Ive got to multiply them further by the number of ways they got to be arranged.Also how do I do this?I mean multiplying it further?
We don't do anything such in the problem below
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 have got me the right answer.
Thank you Ron