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

How many possible strings exist given base string S and character C?

We're given a base string "abcdefghijklmnopqrstuvwxyz0123" of length 30, and a new character "_" of length 1. How many possible ways can our character be placed (or excluded) in the string without exceeding a total string length of 40? Valid…
Taylor
  • 11
1
vote
1 answer

How many bridge hands have exactly two 5-cards suits and a void so that the remaining suit has a run of 3 cards?

How many bridge hands have exactly two 5-cards suits and a void so that the remaining suit has a run of 3 cards? Should the answer be $C(13,5)C(13,5)C(4,2)C(13,3)$.I first choose $5$ cards for each of the $5$-card suits,then choosing $2$ suits…
1
vote
2 answers

how many different bridge hands have exactly 2 six-card suits?

How many different bridge hands have exactly $2$ six-card suits? I think the answer is : $C(13,6)$$C(4,1)$$C(13,6)$$C(4,1)$$C(26,1)$ First I choose $6$ numbers from $13$ numbers, and choose $1$ suit for one $6$ card suit. Since there are $2$…
1
vote
1 answer

How many triangles can be formed if the vertices are chosen from a set of n points all lying on a circle?

I couldn't understand the question.Why the points must lie on the circle?Is the answer C(n,3)?
1
vote
1 answer

How many bridge hands have a 5-card suit that must contain the ace of that suit, a 4-card suit, and a void (no cards of a suit)

How many bridge hands have a 5-card suit that must contain the ace of that suit, a 4-card suit, and a void (no cards of a suit)? I only know the first two are: C(12,4)C(13,4), but I really don't know what the "void" means and how to deal with it in…
1
vote
2 answers

Stuck in problem involving combination/ permutation

How many ten-digit binary numbers have exactly three 1’s? What I have find is that some common patterns are they have three 1s and seven 0s. I have an idea by common sense. But, how to prove it mathematically. This is what I got C(7,3) = 35 Not…
Gill
  • 11
1
vote
1 answer

sum of combinations $\binom n{0} + \binom n{3} + \binom n{6} +... +\binom n{3k}$

How should one prove that $\binom n{0} + \binom n{3} + \binom n{6} +... +\binom n{3k} = \dfrac{2^n-2}{3}$ for $n$ odd and $\binom n{0} + \binom n{3} + \binom n{6} +... +\binom n{3k} = \dfrac{2^n+2}{3}$ for $n$ even, where $k=\lfloor…
1
vote
1 answer

Combinations - teachers taking classes

I posted recently trying to work out how many combinations were possible for my scheduling algorithm of teachers to classes. So if I had 4 classes and 3 teachers The combinations would be 4^3 right? I forgot to mention that not all classes need to…
Aleddd
  • 61
1
vote
1 answer

How many unique combination of $n$ numbers are there when multiplying $x$ numbers?

If you have $n$ numbers and you multiply them in every combination $$A\cdot A,\ A\cdot B,\ B\cdot A,\ B\cdot B$$ and so on, how many times do you get the same answer? Or, how many times do you get a unique answer? That is just for a product of two…
Joe
  • 534
1
vote
3 answers

How many people are there?

66 hand shakes on a party. If each person shakes every body's hand, how many people were at that party? (I have the answer as 12 people but through use of elementary logic) Could any one suggest a more mathematical way of handling this?
KaRJ XEN
  • 302
1
vote
1 answer

4 by 4 Combination Solvable or Unsolvable?

I believe this problem is unsolvable (as in there is no correct solution). Can somebody confirm that there is no solution? If there were 4 Teams of 4 Players as follows... Team A Art (A1) Andy (A2) Angela (A3) Adam (A4) Team B Brian (B1) Brenda…
1
vote
1 answer

selections of 4 letters of the word AGGREGATE which contain exactly 2Gs or exactly 3Gs

Find the number of different selections of 4 letters of the word AGGREGATE which contain exactly 2Gs or exactly 3Gs. What I did below is wrong. Can someone tell me the reason and the correct solution? $$\left(\binom{3}{2}\times\binom{6}{2}\right) +…
Wong
  • 13
1
vote
1 answer

A store sells $4$ kinds of liquor : rum, tequila, whiskey, vodka. How many sets of $7$ different bottles of liquor can one buy?

Arrange the bottles of liquor in the following order: rum, tequila, whiskey, vodka. Then assign to each bottle of tequila its position number increased by $1$, to each bottle of whiskey its position number increased by $2$ and to each bottle of…
1
vote
0 answers

I am trying to understand the reasoning behind the way we count combinations

Let $S$ be a set with $100$ elements. Divide $100$ by $20$. That leaves a partition of $S$ with $5$ subsets. Suppose we need to choose a number of $k$-subsets from an $n$-set. I'll try and reason by analogy with the partitioning of the set $S$…
1
vote
2 answers

Can't tell lists from sets in counting problems

You throw five identical six-sided dice and write down the values showing, in nondecreasing order from left to right. For example, $22245$ means you rolled three $2$s, one $4$, and one $5$. How many outcomes are possible? How many in which all…