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

How many subsets of $[20]$ have smallest element $4$ and largest element $15$?

$[20] = \{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20\}$. We could probably remove all $n < 4 \text { and all } n > 15$. Then the new set will have $2^ {12}$ subsets. Now I am not sure how to get rid of all subsets in $\{4,…
1
vote
4 answers

Prove by combinatorial argument.

$$ \binom{n}{r} \binom{r}{k}=\binom{n}{k}\binom{n-k}{r-k} $$ I was proving this equation, First i took L.H.S, then i open them with the help of Combinatorial Formula but, now I am Stuck, What to do next?
Aniq
  • 327
0
votes
2 answers

What is the number of solutions of $2a+2b+2c+d=n$

I have a equation and I need to find the number of possible integer solutions for it. The equation is of the form $$2a+2b+2c+d=n, (a,b,c,d > 0)$$
0
votes
0 answers

Repeated swapping of two items in a sequence

Suppose you have a sequence of unique items, for example: 1, 2, 3, 4, 5 Suppose we have a 'swap' operation whereby you swap any two items in this list. For example, you could get to the following sequences with one swap operation from the start…
occulus
  • 279
0
votes
1 answer

Calculating combinations with colors

I need to know how many combinations there are possible from 10 balls with 5 colors. All colors must be in there, so in every combination there have to be 5 colors. Amount doesnt matter. Any tips? Thanks! EDIT Updated question, I need to know every…
0
votes
2 answers

Calculate the number of possible combinations

Given 4 sets of data, how can I find the number of possible combinations? Eg. Colors { Black, Blue, Red, Green } Shape { Round, Square, Triangular } Form { Solid, Liquid } Location { Inside, Outside } Empty or not selecting an item from a set is not…
0
votes
0 answers

Finding conditional combinations

Problem : Find number of co-primes pair (x,y,z) in a list of numbers. My solution: No of (even, odd, odd) + No of (even,even,odd) + No of (odd,odd,odd). lets say N is number of even and M is no of odd. (even, even, odd) = (N!/2!(N-2)!) * M (even,…
Sab
  • 149
  • 8
0
votes
2 answers

Combinations Question: Burgers

A tray holds 3 cheese burgers, 5 bacon burgers and 6 egg burgers. How many ways to choose at least one of each type of burger to a total of 4 burgers? This is my method: ($3 \choose 1 $* $5 \choose 1 $* $6 \choose 1$) * $11\choose1$ = 990 I was…
user9856
  • 300
  • 2
  • 3
  • 11
0
votes
1 answer

How to find number of combinations to choose 3 balls out of 3 set of different colored ball

There are 3 containers with different color, having 3 balls each with the same color as the container. How to find the no of combinations to pick 3 balls out of these 3 container. Extending the above problem How to find the no of combinations to…
Sabari
  • 3
  • 1
  • 3
0
votes
4 answers

A combinations problem.

Given a number $N$ and $M$, how to find the possible combinations for a+b+... = N where a,b... <= M. Ex: N = 3 and M = 3 So the combinations would be (3,[1+1+1],[1+2],[2+1]) which is 4.
0
votes
1 answer

How many different committees of 5 can be formed from 8 men and 7 women such that there are at least 2 women in the committee

How many different committees of 5 can be formed from 8 men and 7 women so as to include at least 2 women?
0
votes
1 answer

Arranging People In A Row-Explanation

There will be 8 people, arrange them in a row in a way that 2 must need to seat side by side, so the answer is $7!*2!$ but I get the same answer while using the following formula $ {\frac{8!}{2!*2!}} $. I cannot find a clear explanation about how…
gbox
  • 12,867
0
votes
1 answer

Possible number of combinations

me and a buddy were talking today and started discussing possible combinations of character builds within our game we are creating. We decided that there would be three core upgradeable attributes to a player. 1.) Jumping Ability 2.) Speed 3.)…
0
votes
1 answer

combinations of a length four sublist from four separate lists

If I have four lists, [1,2,15,16], [6,7,10,11], [3,8,9,14], [4,5,12,13], how many ways can I get a combination of length four sublists taking one element from each list? For example: [1,6,3,4],[1,7,8,5],[1,10,9,12]
0
votes
2 answers

How many different combinations could be created

There are 5 sheets of distinct A stamps and 5 sheets of distinct B stamps for a total of 10 sheets of distinct stamps. The album is put together using a combination of three sheets of A or B stamps and two sheets of the other for a total of 5…
Robert
  • 15