One box - one pair -2 different things to create 4 length I am trying to solve exercise that has to

hawwend8u

hawwend8u

Answered question

2022-05-23

One box - one pair -2 different things to create 4 length
I am trying to solve exercise that has to do with Combinations and Permutations.I think it is Permutation because if it was Combination we care about the order. I have stacked in an exercise and I would like to give me your help.
How many with length 4 can I create from a box ( the box has 24 balls) with 1 pair at least that has successively white balls or successively black balls. The white balls are 7 the black balls are 17.
What I did is to take P ( n , r ) = n ! / ( n r ) ! so for Pwhite(7,2). I did this, because I take 7 black ball and I want 2 pair so I have the result P w h i t e ( 7 , 2 ) = 7 ! ( 7 2 ) ! = 42
Now the black Pblack(17,2) P ( 17 , 1 ) = 17 ! / ( 17 2 ) !. I have the result 272
I want to do 4 length of 2white and 2black(as I understand - maybe I am wrong).

Answer & Explanation

Scarlet Reid

Scarlet Reid

Beginner2022-05-24Added 8 answers

Step 1
As confirmed in the comments, the question is how many sequences of 4 balls can you draw (without replacement) from a box with 7 white balls and 17 black balls such that the sequence has at least one pair of same-colored balls adjacent to each other.
As is often the case for such problems, it's easier to subtract the "bad" combinations from all combinations, thereby yielding the number of good combinations.
Since order counts (otherwise it's meaningless to take about balls being adjacent to each other), there are 24 ! 20 ! possible sequences, ignoring the restriction. The only "bad" sequences contain exactly 2 white balls and 2 black balls in the order WBWB or BWBW.
Step 2
There are 17 16 ways to choose the two black balls in order and 7 6 ways to choose the two white balls in order. For each of these choices, there are 2 bad combinations. Therefore, the total number of bad combinations is 2 17 16 7 6. Subtract that number from 24 ! 20 ! and what remains is the number of combinations satisfying our conditions.

Do you have a similar question?

Recalculate according to your conditions!

New Questions in Discrete math

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?