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
0 answers

I am looking to find all possible ordered combinations between the elements of two sets.

Let's say i have two sets: Set_A = {1,2,3} and Set_B = {4,5,6}. I am looking two find all possible combinations between the elements of the two sets but without changing the order of the elements of each set. For example (1,2,3,4,5,6) is a valid…
0
votes
0 answers

Combinations Problem - Arranging 2n People in n Rooms with exactly 2 people in each room.

In how many ways 2n people can be arranged in n rooms with exactly 2 people in each room for example: arranging 4 people (1,2,3,4) in 2 rooms with above condition 1 is (1,2) (3,4) (1,3) (2,4) (1,4) (2,3) Thus 3 possible ways
0
votes
1 answer

Given a large supply of jelly beans of 10 different colors, how many ways are there to make up a bag of 5 jellybeans?

Question: Given a large supply of jelly beans of 10 different colors, how many ways are there to make up a bag of 5 jellybeans? Answer: The answer is 14C9 or $\frac{14!}{(14-9)!9!}$ = 2002 I know that this is a combination problem with repetition,…
Dom Turner
  • 201
  • 1
  • 7
0
votes
1 answer

Selection Problem

How many ways are there to select 8 letters from 24 letters where 8 letters are 'a' ,8 letters are 'b'and rest are all unlike?
user768300
  • 15
  • 1
0
votes
1 answer

Calculate the number of total possible keys to find the secret key.

A string has 9 characters split in 3 groups of 3 chars each, [(x,x,x),(x,x,x),(x,x,x)]. The text is encrypted using secret-key cryptography and the function that encrypts is a simple function that does XOR with an unknown key. We know that they…
Sachihiro
  • 119
0
votes
1 answer

How many ways can you lend 4 books to 15 friends if (a) nobody gets more than 1? (b) a person can get more than 1?

Here for (a), I think the solution would be 4! × C(15,4) = 32760. Is that correct? As for (b), I am confused. Should I use C(n+r-1,r) here? Or is it something else? I am having a hard time grasping the solution. Thank you
0
votes
2 answers

In how many ways can I pay the bill with different type of money?

I how many ways can I buy fish for 10 euros if I have?: 5€ - 3pcs 2€ - 6pcs 1€ - 2pcs I try with primitive aproach: 5+5=10------1 5+2+2+1-----2 2+2+2+2-----3 2+2+2+2+1+1-4 Is there any other combination? How to calculate that?
Cigls
  • 3
0
votes
1 answer

How many combinations are possible with 10 numbers and 28 letters

I am trying to figure out the maximum possible combinations of 10 numbers and 28 letters, with the following form: $N N N L L L L$ Where $N$ is number and $L$ is letter. What I think the max maximum possible combinations is but not sure as…
0
votes
1 answer

clearing concept of combination

I have $16$ categories and each category contains $10$ pages. I can only choose $1$ page from each $16$ categories. All the categories are independent of each other. so what is the possible ways to do so? I thought of like I can choose 1 out of 10…
0
votes
2 answers

What is the function to find a set of ordered values in a random set?

Given a set of discrete ordered values, what are the amount of combinations of n values within that set? Such as; Given the set [1,2,3,4,5] and choose n = 3, the total combinations…
0
votes
2 answers

Combining legoes

I have this question where I get lego $4$ inch lego $6$ inch I want the length of $48$ inches. How would the $2$ lego be combined to get $48$ inches? The equation is $$ 4a + 6b = 48 $$ which has the solutions $a=0, b=8$ $a=3, b=6$ $a=6,…
zellez11
  • 287
0
votes
0 answers

Combinations for $2n$ distinct kids in $2n$ distinct seats ( + condition )

Given $2n$ labeled kids, $2n$ labeled seats, how many options are there to place the kids in the seats such that every odd-numbered kid with index $1 \leq i \leq n$ sits to the right (not necessarily adjacent) of the kid labeled as $2i.$ I'm…
0
votes
1 answer

Selection problem with "twins"- understanding the wording

From three sets of twins and four unrelated girls, find how many selections of five people can be made if exactly: a) two sets of twins must be included b) one set of twins must be included. What I did was ${}^3C_2 \times {}^4C_1 = 12$ and…
CasperYC
  • 228
0
votes
1 answer

Number of ways to arrange a tournament of 8 people

If you are arranging a 1vs1 tournament of 8 people, how many different ways can you arrange the first round? A set of pairings is different if someone has a different opponent. For example, you can arrange a tournament of 4 as follows: $\{AvB,…
0
votes
3 answers

200 identical candies are to be sent to 5 families (A, B, C, D, E).

200 identical candies are to be sent to 5 families (A, B, C, D, E). If each family must get at least 3 candies and the family “A” cannot have more than 30 candies, how many different ways are there to distribute the candies?