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
1
vote
1 answer

Calculating Combinations with Duplicates and Replacements

Hi I'm stuck at doing my student project work, and this is my first time doing Combinatorics, so any help would be useful. I'm attempting to calculate the probability that given $k$ blocks of ice falling and filling $n$ empty blocks on the ground,…
1
vote
1 answer

Maximum number of possible disjoint subsets of unequal size

Given a set $S$ of size $n$, there is a maximum number of disjoint subsets where the size of each of the subsets is larger than zero and different for each of the subsets. Which is obtained by counting the number of times $(k)$ we must add up the…
Joost
  • 43
1
vote
3 answers

How many paths are there from one vertex of a subdivided triangle to another?

Other than counting, is there any shortcut to solve this? Using only the paths and the indicated directions, how many different routes are there from $A$ to $J$? My answer is $22$.
AYA
  • 578
1
vote
5 answers

Is $^nC_r$ defined when $r>n$?

I want to know if $^nC_r$ is not defined when $r>n$ or is it just equal to 0? By its definition, we know that, $^nC_r$ is the number of ways of selecting $r$ things out of $n$ distinct things, in this manner, $^nC_r$ should be equal to 0. But, by…
1
vote
1 answer

Help me calculate the probability of all committee members being from Swansea (edits added)

There are $15$ people from Swansea, $12$ from Wolverhampton and $10$ from Aberystwyth. A committee is to be made of at least $5$ people from Swansea and $2$ from anywhere else. The committee will only form if at least 5 people from Swansea are on…
AOD
  • 127
1
vote
1 answer

How to calculate all possible paths

Apologies in advance for lack of knowledge in how to ask this! I have a linear story with multiple options. Think of it as a choose your own adventure book. You start at A, then you have to choose whether to go to AA or AB. This process repeats…
Taytee13
  • 13
  • 3
1
vote
1 answer

How many possible combinations are there for a 8 digit number

Suppose if I have a lock, in which there are 8 different numbers. The numbers are allowed the repeat. I'm wondering how many possible combinations are there for the lock?
1
vote
2 answers

Why do I get one less than $2^k$?

I have four letters, $A B C D$ , and I need all possible combinations when the order doesn't matter. I thought this should be $2^k$ , with $ k$ being $4 $ . But I can only count $15$, is there a reason for this? Am I missing…
1
vote
3 answers

Possible price combinations

A, B and C are prices of a good at $3$ points in time respectively. How many price combinations are possible. Please provide me a formula as well. Example, $A=B=C$ $A>B>C$ $A>B$ and $C>A$ $A>B$ and $CB$ and $A>C$ and $B>C$ $A>B$ and $A
Teja
  • 23
1
vote
1 answer

Find how many integer solutions are there to $x \cdot y\cdot z=12^5$?

The first question asks for positive integer solutions to $x\cdot y \cdot z=5^9$. I solved it by finding the coefficient of $x^9$ of the generating function $(1 + x^1 + x^2 + x^3 ... + x^9)^3$ since $5$ is a prime. which gives the answer $28$ But…
Tverous
  • 51
1
vote
1 answer

How many combinations of three colors using one alone, two together, or three together?

How many combinations of three colors using one alone, two together, or three together? I get 36, but I don't know the formula, or if I miscounted! R Y B RR YY BB RY YR BR RB YB BY RYB YRB BRY RBY YBR BYR RRY YYR BBR RRB YYB BBY RBR YRY…
1
vote
3 answers

Find the number of routes from leftmost vertex to rightmost vertex

Suppose that one can move from one vertex to another if, and only if, the two vertices are connected by a unique common edge. The number of routes that one can take from the leftmost vertex L through 6 edges and 5 intermediate vertices to…
1
vote
0 answers

Possibility of finding the ith sequence of permutations, without re-iteration

Is it possible to write a math formula involving possible permutations, such as for the letters "ABC" in uppercase, no repeated combinations, and always generated in a static unchanging order. Such as e.g., [A, B, C] ABC # 1 CBA # 2 BCA # 3 CAB #…
ABC
  • 113
1
vote
0 answers

Max number of unique combinations

I'm trying to work out the maximum number of unique combinations for the following rules. This is part of me learning python. There are $16$ teams $[1,2,3....16]$, the teams only play each other once, $\dfrac{n(n-1)}{2}$ is the maximum number of…
1
vote
1 answer

What is the probability that $^{\text{n}}\text{C}_{7}$ is divisible by $12$?

What is the probability that $^{\text{n}}\text{C}_{7}$ is divisible by $12$? Where $n$ can be take the values of all the natural numbers. The number should be divisible by both $3$ and $4$ for this purpose. What I could do is individually find out…
Iceberry
  • 634