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
0
votes
1 answer

Equality of combinations

If Combination of $n$ choose $k$ $n\choose k$ and combination of $a$ choose $b$ $a\choose b$ are equal does that imply that $n=a$ and $k=b$ or $k=a-b$? Or are there other posibilities?
Long Claw
  • 39
  • 7
0
votes
2 answers

How Many possible combinations of 12 attributes if order doesn't matter

I have 12 attributes I care about for a project (for simplicity, let's call them 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 and 12). I want to find every possible combination of 1 to 12 items in this list, where order does not matter (e.g. 1 and 12 is…
0
votes
1 answer

How many possible spell combinations for a wizard brawling game?

I'm working on a game that involves drafting different spells and I'm trying to figure out how many combinations are possible. Simply put, each spell has an element and a class: There are $10$ elements (Fire, Water, Air, Earth, etc.) There are $7$…
0
votes
0 answers

Combination for a group of objects

Assuming we have 7 boxes, where each box has a number and a color. The color can have one of two available colors, for example: box1 can either be red or blue, box2 either black or white, box3 either orange or yellow...and so on. so there are 7…
0
votes
0 answers

How many different ways could I fill a table with 20 different items to selected from 30 items?

How can I create unique tables of 20 contents each with each unique table generating its contents from a list of 30 items? I have a list of items 1 to 30. I want to generate a table that contains 20 unique items picked from my 30 lists. No contents…
0
votes
1 answer

vehicle registration combinations

The registration number of the vehicle consists of two letters, three numbers and two letters. How many registration numbers can we form if we use 25 letters. is this using the combinations theory? or a factorial of 25. I understand that there is…
harriet
  • 13
  • 3
0
votes
1 answer

Combinations of $10$

So I can not seem to get my head around this and could not make sense of online calculators. I think what I'm trying to figure out should be pretty simple. I have $1$ thing, and $10$ different ways that thing can be. So that's obviously $10$. Now…
0
votes
1 answer

Combination question, number of ways 5 men and 5 women can marry

What is the number of ways $5$ men and $5$ women can marry? (if each person can only marry one person from opposite gender) I have seen $5!$ because each gender can start from a person being able to choose 5 and then the next person can choose $4$…
0
votes
0 answers

Combinations for data set with repeated elements

For a data set of integers from 1 to 48, $$\binom{48}{4} = 194,580$$ distinct combinations. And for another data set of 48 integers with 4 subsets of integers from 1 to 12 in each subset, a $$\binom{4\cdot 12}{4} = 194,580$$ as well, but the…
0
votes
1 answer

Determining the line number of a combination from a sorted text file

Uppercase letters $(A - Z)$ and numbers $(0 - 9)$ are used to generate all possible combinations of strings of length $10$ characters such as $NAH562GTDS$. Assuming that all the possible combinations are generated and sorted in a text file such that…
0
votes
1 answer

Finding combinations with groups.

Suppose I have four groups A, B, C, D filled with items belonging to groups: A A1 A2 A3 B B1 B2 B3 B4 C C1 C2 D D1 D2 D3 I would like to create a combination with four items, for example: A1, B2, C1, D2 A2, B1, C2, D1 so on ... Such…
0
votes
0 answers

Mapping between overlapping sets

My question concerns combinations and, more specifically, mutations between different combinations. It was inspired by the game of Dobble. In the game Dobble, there are (or should be) 57 cards each showing 8 images from a set of 57 images. This…
0
votes
1 answer

assignment problem in which boxes have different capacities

Suppose that there are $M$ numbers, $a_1,\cdots,a_M$, and $K$ boxes. For each box $k$, $k=1,\cdots,K$, we can put $Q_k$ different numbers in it, in which each $Q_k$ is given and satisfies $1\leq Q_k < M$. Now I want to put different numbers into…
Liang
  • 111
0
votes
2 answers

Isn't Combination just selection?

So, There is this question which I came across. "Total no of handshakes among 15 people." The answer seems to be just 15C2. Isn't that just a way of selecting and not the number of handshakes? I'm in grade 10th. So don't judge.
0
votes
0 answers

Combination of m elements from the first half of an ordered set

I have an ordered sequence with $n$ elements: $\{1,...,n\}$. I would like to obtain all the possible combinations of $m$ elements using just the first half of $n$ (so the numbers from $0$ to $n/2$). I feel that just ${\frac{n}{2}\choose m}$ does not…
dadadima
  • 247