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

Calculating combinations where all the elements chosen are the same.

If I have 7 red balls and 8 blue balls and have to choose 4 balls from this 15, how many possible combinations can I get where all 4 balls are red balls? I've tried using the Combinations formulae where I'm basically selecting 4 elements from the 7…
Broadsword93
  • 567
  • 6
  • 21
2
votes
1 answer

Groups of 3 generator

I belong to an association in which has members with different specialties. I need to generate a group of 3 members to meet monthly for 10 months. Here are the rules below. Is there a mathematical formula that can accomplish this? Each group of…
2
votes
2 answers

Combination - Infinite Sample Size

A jar contains quarters, loonies, and toonies. If four coins are selected from the jar, how many unique coin combinations are there? The answers is 15. The solution: "In this question, we know there are quarters, loonies, and toonies in the jar,…
2
votes
1 answer

A cake shop has 5 different types of cake. I wish to buy a selection of 9 cakes. How many different choices do I have?

This is a question I am stuck on - it's worth four marks. I assumed when I read the question the answer would be $45$, from $9 \cdot 5$. However, is it $9\cdot 5!$, $5 \cdot 9!$ or even $(9\cdot 5)!$?
2
votes
2 answers

Combinations with repetitions allowed, order matters, n less than k

if you are a Londoner you are familiar with the situation: When you rent a bike a machine will produce a $5$-number code made up of $\{1,2,3\}$. My friend said "oh, I had this number before", but I said it is very unlikely as there are plenty of…
2
votes
1 answer

How to compute sum of all combinations

I remember some things from college about computing permutations and combinations, but I don't really recall if we ever learned any alternative to the formula I'm about to describe. In this case, I want to know how many full combinations (the…
2
votes
4 answers

What combination length best secures my key safe?

I have the following key safe and need to decide upon a combination for it. It's fairly simple mechanically with these features:- It allows the characters 0-9 and A and B (12 possible digits in total). The combination can be 4 to 12 characters…
2
votes
2 answers

Question about Combinations and Flipping coins

I'm having trouble getting to a formula on how to get the number of combinations from flipping a coin n times if the order doesn't matter... I know that to get the total number of combinations is 2^n... So if a coin was flipped twice, combinations…
2
votes
2 answers

How many different possible permutations are there with k digits that add up to n?

So for example: How many permutations are there with 3 digits that add up to 4? For this question I just list all possible solutions: 004, 013, 022, 031, 040, 103, 112, 121, 130, 202, 211, 220, 301, 310, 400 but what if the number of digit (k) is…
Tommy Lassa
  • 107
  • 1
  • 8
2
votes
2 answers

total number of ways

At a cafeteria, there are $10$ seats in a row, and $10$ people are lined up to walk into the cafeteria. The first person can sit anywhere, but any future person will only sit in a seat next to someone who is already sitting down. If the first person…
user371838
2
votes
4 answers

Finding patterns 9 nine items of two types.

There was a question in a mock test of an olympiad I gave, which says, "In how many ways 5 humans and 4 monkeys be seated around a table, such that no two monkeys sit together" Now, in this question how can I deal with the statement that no two…
Mayank M.
  • 689
2
votes
1 answer

Counting Number of distinct paths if diagonal move is allowed along horizontal and vertical move

Consider $m \times n$ grid. a path from left corner $(0,0)$ to the grid point $(m,n)$ can use three kinds of steps namely, $(p,q) \rightarrow (p+1,q)$ (horizontal) $(p,q) \rightarrow (p,q+1)$ (vertical) $(p,q) \rightarrow (p+1,q+1)$…
user344046
2
votes
1 answer

A bag contains $4$ red and $6$ white marbles. How many ways can $5$ marbles be selected if exactly $2$ must be red?

A bag contains $4$ red and $6$ white marbles. How many ways can $5$ marbles be selected if exactly $2$ must be red? Is it $120$?
Justin
  • 99
2
votes
1 answer

Number of ways $5$ people can take stones from a bag containing $5$ stones where ...

Number of ways $5$ people can take stones from a bag containing $5$ stones where the first persons may take up to $3$ stones ($0$ is allowed), second can take up to as many as the first person took, third may take up to as many as the second person…
kporter
  • 123
2
votes
1 answer

How many Combinations there are to choose 5 Men and 5 Women and make them a pair?

There are 22 students - 10 Men and 12 Women. I have to choose randomaly 5 Men and 5 Women. How many Combinations there are to choose 5 Men and 5 Women and make them a pair ? I know i have to start with $\binom{10}{5}\binom{12}{5}$, But I dont know…
NM2
  • 721