Combinatorial question: permutation, binomial coefficient

In summary, the book provides a solution of 4410 for the number of 6-digit numbers with exactly two 1's and two 2's, without any zeros. This solution uses the formula of ##\frac{6!}{2!2!}*\binom{7}{2} + \frac{6!}{2!2!2!}*7##, which can be explained by considering the placement of the 1's and 2's, as well as the remaining two digits with 7 options each. The formula also takes into account the possibility of the remaining digits being either different or repeating in pairs.
  • #1
blob84
25
0
How many numbers of 6 digits which have exatctly the digit 1 (2 times), digit 2 (2 times), without zero, are there?
The book post this solution: [tex] \frac{6!}{2!2!}*\binom{7}{2} + \frac{6!}{2!2!2!}*7= 4410[/tex],
but I'm trying to find an explanation for this result.
 
Physics news on Phys.org
  • #2
That is a weird way to calculate the number.

Here is what I would do:

There are ##6 \choose 2## ways to place the "1"s, and ##4 \choose 2## ways to place the "2"s afterwards. If you write both with factorials, a 4! cancels and you get ##\frac{6!}{2! 2! 2!}##. The remaining two digits have 7 options each (3...9), therefore the total number of digits is...

Of course, you can split 7*7 in ##2 {7\choose 2} + 7##, but where is the point? The first part corresponds to the number of numbers where the two remaining digits are different, but I don't see a reason to consider them separately.
 
  • #3
It is [tex]\binom{6}{2}*\binom{4}{2}*7^2[/tex] by the general form of the product rule, where there are for any pairs of digits 3 cases, if I'm not wrong, thank you.
I suppose to get this weird formula it calculate permutation with repetition and it brokes the problem in two sets.
 
  • #4
The 1st term corresponds to the case when the other two digits are different and the 2nd term corresponds to the case when another digit is repeated (three double digits).
 
  • #5


The combinatorial question provided is asking for the number of 6-digit numbers that have exactly two 1's and two 2's, without any zeros. This can be solved using the concept of permutations and binomial coefficients.

First, we can consider the arrangement of the digits 1 and 2 in the 6-digit number. This can be done using permutations, as we want to find the number of ways to arrange 2 1's and 2 2's in a 6-digit number. This can be calculated using the formula 6!/2!2!, which gives us 6*5*4*3*2*1 / (2*1*2*1) = 180.

Next, we need to consider the remaining digits in the 6-digit number. Since we do not want any zeros, we have 7 possible digits to choose from (1, 2, 3, 4, 5, 6, 7). We can choose any two of these digits to fill the remaining two spots in the 6-digit number. This can be calculated using binomial coefficients, specifically \binom{7}{2}, which gives us 7!/2!(7-2)! = 7*6 / (2*1) = 21.

Therefore, the total number of 6-digit numbers that meet the given criteria is 180*21 = 3780. However, we need to add the cases where the remaining two digits are both 1's or both 2's, as these numbers were already counted in the permutation calculation. This can be done by adding the number of 6-digit numbers with two 1's (6!/2!2!2!) and the number of 6-digit numbers with two 2's (6!/2!2!2!), which gives us 3780 + 630 + 630 = 4410.

In summary, the solution provided in the book is using the concept of permutations and binomial coefficients to calculate the total number of 6-digit numbers with exactly two 1's and two 2's, without any zeros.
 

1. What is a permutation in combinatorics?

A permutation is an arrangement of objects in a specific order. In combinatorics, it refers to the number of ways a set of objects can be arranged or ordered.

2. How is a permutation different from a combination?

In a permutation, the order of the objects matters, while in a combination, the order does not matter. For example, ABC and ACB are different permutations, but they are the same combination.

3. What is a binomial coefficient?

A binomial coefficient, also known as a combination, is a mathematical formula used to calculate the number of ways a subset of objects can be selected from a larger set, without considering the order.

4. How do you calculate a binomial coefficient?

The binomial coefficient can be calculated using the formula nCr = n! / r!(n-r)!, where n is the total number of objects and r is the number of objects being selected. Alternatively, it can be calculated using Pascal's triangle, where the number in each row and column is the sum of the two numbers above it.

5. What real-life applications use combinatorial questions such as permutations and binomial coefficients?

Combinatorial questions are used in various fields, including statistics, probability, computer science, and genetics. Examples include analyzing data in surveys, predicting outcomes in games of chance, and determining the likelihood of certain genetic traits passing down to offspring.

Similar threads

  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
2K
Replies
3
Views
806
  • Set Theory, Logic, Probability, Statistics
Replies
3
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
3
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
591
  • Set Theory, Logic, Probability, Statistics
Replies
11
Views
1K
  • Precalculus Mathematics Homework Help
Replies
8
Views
399
  • Set Theory, Logic, Probability, Statistics
Replies
2
Views
1K
  • Precalculus Mathematics Homework Help
Replies
23
Views
1K
Back
Top