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
4
votes
5 answers

Help with a proof with combination: $\binom{n}{k}\binom{k}{m} = \binom{n}{m} \binom{n-m}{k-m}$

I have to prove that: $\binom{n}{k}\binom{k}{m} = \binom{n}{m} \binom{n-m}{k-m}$ I'm not really sure how to approach this problem. I know the formula definition of combination but am unsure how to apply it to this question
Wilson
  • 371
  • 5
  • 17
4
votes
1 answer

the opposite of choose

I remember some of my math related to combinations, and that if I have 6 objects and want to count the number of pairs that I can make from these it is 6 choose 2 which equals 15. However, now I know that I have 15 pairs and I want to know how many…
user160254
  • 41
  • 1
4
votes
1 answer

Proof that $\binom p k \equiv 0 \pmod p$ for certain $k$

How would you go about proving that $$ {p \choose k} \equiv 0 \pmod p $$ if $0 < k < p$ and $p$ is prime? Edit: I'm fairly certain that I should begin at the definition of the binomial coefficient, namely that $$ {p \choose k} = \frac{p!}{(p - k)!…
4
votes
2 answers

If a family will have $7$ children, how many combinations of boys and girls can there be if order doesn't matter?

I feel like an idiot for asking this but I've been overthinking things. I know the answer is $8$, but without drawing a binomial tree diagram, I instinctively thought "$7$". What is the formula or mathematical thought process that people go…
4
votes
3 answers

Combinations of pieces of pizza with multiple rules

This is a question I had to code in python but I dont understand exactly how it works. Is there some way to show the combinations? Phillip the pizza banker wants to buy some pizza. He wishes to purchase 23 pieces of pizza, and the available flavours…
mykill456
  • 41
  • 2
4
votes
1 answer

Is my thought process correct for these permutations/combinations?

I'm not very strong with math so be gentle. I decided against posting this to StackOverflow, even though it has to do heavily with Excel VBA. I think my primary questions belong here. Let's say I have the numbers 1 through 30 (inclusive), and I'm…
Ferenth
  • 43
4
votes
4 answers

What's wrong with this combination?

There are $20$ students. $8$ of them are boys while the other $12$ are girls. I have to pick $4$ of them and I need to have at least one boy and one girl in my pick. There are $4$ spots to choose. Let's name them A, B, C, and D. I have $12$ options…
idonno
  • 3,909
4
votes
1 answer

Confused about solution to combination question

Okay so here's the question: Jason was given marbles of various colours in $4$ boxes: $3$ red marbles in the 1st box, $4$ green marbles in the 2nd box, $2$ yellow marbles in the 3rd box and $1$ black marble in the last box. How many ways can Jason…
Lim LS
  • 141
4
votes
3 answers

how many ways to choose 3 coins?

Sorry I don't know the correct math terms here, I haven't had a math class in some time. That's probably why I have trouble finding an existing question like this, too. Let's say there are 4 differnt kinds of coins: penny (P), nickle (N), dime (D),…
Nick
  • 141
3
votes
2 answers

Very Simple Combinations Question

how can I solve this: How many different ways can 8 children be divided into two groups of 3 and one group of 2? My method was: 8C3*5C3*2C2+8C3*5C2*3C3+8C2*6C3*3C3=560+560+560=1680 But the answer is: 8C3*5C3*2C2=560 I feel close to getting the…
user9856
  • 300
  • 2
  • 3
  • 11
3
votes
1 answer

Prove ${2n \choose r+1}$ is maximum for $r=n$

Question: Prove ${2n \choose r+1}$ is maximum for $r=n$ My Efforts: $$\begin{align} {2n \choose r+1} > {2n \choose r} & \Leftrightarrow \frac{(2n)!}{(r+1)!(2n-r-1)!} >…
Freddy
  • 1,237
3
votes
4 answers

Safe with $12 \times 10^6$ combinations? How is it possible?

I'm thinking of buying a gunsafe and need help confirming or disproving a manufacturers claim. They claim a safe with four buttons has 12,000,000 possible combinations. The rules for the safe are: 3 to 6 entries must be made. Each entry can be…
Matt G.
  • 39
3
votes
1 answer

possible finger combination on a piano

Trying to figure out how to calculate all possible finger combinations on a piano. Since we have 10 fingers we can play a note with just 1 finger (one note),with all 10 fingers (notes) or with a number of combination of fingers of both hands, and…
3
votes
1 answer

Combinations - Course choosing

Someone asked me this question: Suppose there are $n$ students. Each student must choose 4 courses, and every two students can only have a maximum of one common course. How many courses are needed to satisfy this condition? I tried to convert…
useprxf
  • 485
3
votes
1 answer

Combinations Question? Fun fun?!

There are 10 players on the basketball team, 12 players on the volleyball team, and 15 members of the track team. Of those players, 2 athletes are on all three teams. How many committees of 4 players can be formed if there must be at least 1 member…
Jessica
  • 766
1
2
3
48 49