Questions tagged [combinations]

Combinations are subsets of a given size of a given finite set. All questions for this tag have to directly involve combinations; if instead the question is about binomial coefficients, use that tag.

A combination is a way of choosing elements from a set in which order does not matter.

A wide variety of counting problems can be cast in terms of the simple concept of combinations, therefore, this topic serves as a building block in solving a wide range of problems.

The number of combinations is the number of ways in which we can select a group of objects from a set.

The difference between combinations and permutations is ordering. With permutations we care about the order of the elements, whereas with combinations we don’t.

Notation: Suppose we want to choose $~r~$ objects from $~n~$ objects, then the number of combinations of $~k~$ objects chosen from $~n~$ objects is denoted by $~n \choose r~$ or, $~_nC_r~$ or, $~^nC_r~$ or, $~C(n,~r)~$.

$~n \choose r~$$=\frac{1}{r!}~^nP_r=\frac{n!}{r!~(n-r)!}$

Example: Picking a team of $~3~$ people from a group of $$~10\cdot C(10,3) = \frac{10!}{7! \cdot 3!} = \frac{10 \cdot 9 \cdot 8}{3 \cdot 2 \cdot 1} = 120.~$$

7786 questions
2
votes
1 answer

In how many ways can the sample be selected if it must have at least 2 male and 1 female mice?

A sample of 5 mice is to be chosen from 7 male and 6 female mice. In how many ways can the sample be selected if it must have at least 2 male and 1 female mice? I tried doing 7C2 * 6C1 but it seems to be wrong as the answer is 1155 but I got 126
Alexio
  • 23
2
votes
2 answers

Prove that $ \binom nm \sum_{i=0}^{m} (-1)^i\frac{\binom mi}{n-m+1+i}=\frac{1}{1+n}$

I want to prove that $$ \binom nm \sum_{i=0}^{m} (-1)^i\frac{\binom mi}{n-m+1+i}=\frac{1}{1+n}\\ $$ $$ \binom nm [ \frac{\binom m0}{n-m+1} +(-1)^1\frac{\binom m1}{n-m+2}+... ..+(-1)^m\frac{\binom mm}{n+1}] =\frac{1}{1+n}\\ $$ Assume that…
ahuigo
  • 123
2
votes
1 answer

Index of permutation with sorted constraint

I'm trying to find a bijective mapping between a permutation and an index. The permutation refers to a 4-tuple of integers. Tuples consist of $(a,b,c,d)$ such that $a,b,c,d \in [1;15]$ with $a \leq b \leq c \leq d$. For instance, these are…
mafu
  • 537
2
votes
3 answers

If $C(16,r) = C(16,r+2)$, then find $r$. Explain how you know.

If $C(16,r) = C(16,r+2)$, then find $r$. Explain how you know. Just started dealing with combinations and permutations rights now and came across this study problem. I've converted each side into their combination formula forms, but I'm not sure…
2
votes
2 answers

A combination question about number of color combinations when drawing pictures with nine colors but having to use at least 5.

Let's say I have nine colors, and my art teacher asks me to draw pictures using these nine colors. However, I need to use at least five colors for each drawing. Now I know there is only one way to combine nine colors (the order doesn't matter). But…
Wictim
  • 21
  • 1
2
votes
3 answers

if there are 4 different tables and 18 people, how many ways can the people be seated to have at least 4 in each table?

For example with 15 people at 3 different tables each seating 5 people, is the number of combinations of seating equal to: $$\binom{15}5\binom{10}5(4!)^3$$
user605633
2
votes
0 answers

Find the number of non-negative integer solutions of $a^2$ + $2b$ + $c^3$ + $4ac$ + $d$ = 144

Find the number of non-negative integer solutions of $a^2$ + $2b$ + $c^3$ + $4ac$ + $d$ = 144 where a,b,c,d $\geqslant$ $0$ I tried by applying $C((n+r-1),(r-1))$. But by this method it is becoming too lengthy with so many cases. And the time…
jame samajoe
  • 411
  • 3
  • 15
2
votes
1 answer

Calculating amount of possible combinations

Having a string of length $N$ with $M$ different letters, and knowing how many times each letter appears on the string, how can one calculate the amount of possible strings? For example: $N=10$ $M=2$ Characters $=\{A, B\}$ Amounts: $A=\{6,…
2
votes
1 answer

Using permutations to solve a stars and bars style problem.

I'm given the following problem An elevator starts at the basement with 8 people (not including the elevator operator) and discharges them all by the time it reaches the top floor, number 6. In how many ways could the operator have perceived the…
ollien
  • 149
2
votes
1 answer

Is there a way to arrange 5 keys so that you can separate two of them without taking them out of your pocket?

I apologize if the question is too vague. I thought I could provide some background to clarify what I mean by separate and arrange. I was chatting with a friend one day and he had 4 keys and could pick out two of them by flipping the first one on…
2
votes
1 answer

When doing at least/at most problems in combinations, why must all possibilities be accounted for separately?

For example, in a standard deck of playing cards a hand of 5 cards is chosen, at least three of them must be red. So first I know that there are 26 red cards and I can choose 3 of them. My initial thought was that, since the other 2 cards can be any…
2
votes
1 answer

Selection of 3 square blocks from 25 square blocks

A set of $25$ square blocks are arranged into a $5\times5$ square. How many different combinations of $3$ blocks can be selected from the set so that no two are in same row or column? My try:- There are $25$ ways to choose the first square.To select…
sai saandeep
  • 1,145
2
votes
0 answers

Easy Practice Test Problem Help

I am completing a practice math test, so I know the answer to the following problem (10), but I'm not sure how you would get it, and how it would apply for a different situation. A group of five friends has two tickets to the ball game. How many…
2
votes
2 answers

How many 4-digit numbers, sum of whose digits is 6, are divisible by 12?

This question was in chapter 'permutations and combinations' of my school math book. I was wondering if there is a solution not related to chapter.( By the way I don't know the solution even related to chapter) I would love to see any solution may…
2
votes
1 answer

How many poker hands can you choose with at least one face card present?

How many poker hands can you choose with at least one face card present (Jack, Queen or King)? Answer I found was: $${\binom {52}{5}} - {\binom {48}{5}}$$ Stumbled across this one and I don't really understand how I should think about it. Why is…