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

Possible combinations - 4 columns with 10 distinct words

Even if there is a solution here, I can't find it, so apologies in advance. My problem is the following. I have 4 columns (A,B,C,D) that have 10 distinct words in them in rows 1-10. I was trying to calculate how many 4-word combinations there are…
Milan
  • 1
0
votes
2 answers

How to print all possible combinations of five numbers selected from $\{1, 2, 3, \ldots, 10\}$

I need to print all possible combinations of five numbers selected from $\{1, 2, 3, \ldots, 10\}$. You can think of it like a lottery. You have $5$ numbers and each number can go from $1$ to $10$ and no number can be repeated. How can I print all…
bau8312
  • 171
0
votes
1 answer

Hint: If $^{2n}C_3:^nC_3 = 12 : 1$, find n

Here's what i tried to do: $$^{2n}C_3:^nC_3 = 12 : 1$$ $$\frac{^{2n}C_3}{^nC_3} = \frac{12}1$$ $$\frac{\frac{(2n)!}{(2n-3)!}}{\frac{n!}{(n-3)!}} = 12$$ However i don't know what to do after this step. Note: There are two extremely similar questions…
0
votes
1 answer

Number of combination if some numbers are known?

Say, I have a password which is 4 digits long. Normally, the number of combination would be 10^4. But what if I know that two of the numbers are 1 and 0? What is the number of combination in this case?
xcoder
  • 721
0
votes
1 answer

Finding the optimal configuration of units.

Say I have options of selling items in a=7 or b=1 units. What would be a good equation to help me find the optimal way to supply units for a required quantity? E.g. 21 = (3*a) 9 = (1*a)+(2*b) and so forth.
0
votes
1 answer

Discrete Combination Problem

I cannot seem to figure this out: A 8-Person committee is to be founded by a group of fifteen women and twelve men, how many ways can the committee be chosen if: (Already solved->) a)The committee contains four men and four women b) There must be at…
0
votes
3 answers

Simplifying Expression of Combinations

How do you simplify this equation: $\dbinom{n}{k}-\dbinom{n-1}{k-1}-\dbinom{n-2}{k-1}$ I simplified it to this: $\dfrac{n!}{k!(n-k)!}-\dfrac{(n-1)!}{(k-1)!(n-k)!}-\dfrac{(n-2)!}{(k-1)!(n-k-1)!}$ but I'm stuck on what to do next.
Ayush
  • 19
0
votes
1 answer

How many five-digit numbers can be formed using digits 3,0,6,6,6?

a)How many five-digit numbers can be formed using digits 3,0,6,6,6, and b) if the 3% of a number is 21,which is that number?
common
  • 3
  • 2
0
votes
3 answers

Combination of a $1$-element set?

The way I understand the definition of a combination of a set is that, without repetition,for example, the combination of the set $\{1,2\}$ would be $(1,2)$, and not $(1,1)$, $(1,2)$ and $(2,2)$ because I thought I read that each element has to be…
user305437
0
votes
1 answer

How to calculate the amount of combinations?

I'm trying to figure out how to calculate the amount of combinations some products can make. I have 8700 products, each can come with ANY of the following. 20 different Ribbons 10 different Discs 5 different Cases For each product, a ribbon, disc…
Karl
  • 103
0
votes
1 answer

Create all possible combinations taking one item from each group

I'm not a mathematician nor is this a mathematics question per se, instead it's a real life problem I need the solution for. I have three groups of different items let's say Group 1: T-Shirt, Solid Shirt, Patterned Shirt Group 2: Pants, Jeans Group…
Whip
  • 175
0
votes
1 answer

Algorithm / equation to determine parts of a sum based on restrictions

I am having trouble in identifying the equations or algorithm for parts of a sum on a problem I am working on. I clearly see a pattern just having a tough time creating an equation behind it. Here is the problem. I have 7 unique numbers in which I…
0
votes
1 answer

Enigma assigment plugboard possiblitys

I'm currently working on a assigment, where I have to find out the number of possible combinations when coupled 5 wires of the plugboard and Generalize the calculation to reflect the number of possible combinations of "n" wires. I did find out how…
Skooou
  • 3
0
votes
2 answers

Number of distinct triplets with given sum

I just came across a problem that I couldn't find a proper formula. I have to find number of distinct triples that can be made from positive numbers less than N and sum of triplet must be N. Also, numbers should not repeat in the triplets.
Ashish
  • 161
0
votes
1 answer

How many ways are there to fill out this lottory ticket?

Lottery games let you pay $\$1$ in exchange for filling gout a ticket with six different numbers, that range from $1$ to $49$. How many ways are there to fill out the ticket? I believe since the numbers have to be different, then we need to…
lucidgold
  • 1,054