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

Choose random sequence of length 10 from (1,2) with equally many 1s and 2s. How many combinations are there?

Here is a small example. The aim is to draw a sequence of length N (even), which contains equally many 1s and 2s, and find the formula for the number of unique sequences. Here is the example for N=4: 1212, 2121, 1122, 2211, 2112, 1221 Six…
0
votes
0 answers

Number of combinations where sum of left digits equals sum of right digits

I am trying to solve a tricky problem that deals with total number of possible combinations. Basically, the input is an even number that represents the total length of possible digits. The goal is to determine how many combinations where the sum of…
0
votes
1 answer

Calculate the most efficient combination of lengths

I have coils of rope for sale that come pre-packaged in the following sizes: 10cm 20cm 50cm 100cm Somebody walks into the store and wants to purchase 280cm of rope. I want to sell them the most efficient combination of my available coil sizes. By…
0
votes
1 answer

maximize $\tbinom{500}{x}\times\tbinom{500}{900-3x}$

2 fair coins A and B, for A, tossing H gets 3 dollars; for B, tossing H gets 1 dollar. Now toss A and B 500 times each, finally we get 900 dollars. Estimate the most likely number of times of H for A and B (you are not necessary to calculate the…
0
votes
0 answers

All possible combinations from 4 uneven sets

I was searching into lots of site and generators but couldn't find exactly what I need. Maybe I wasn't also able to accurately search it correctly as I'm not familiar with the needed terms. What I need is to find all the combinations, combining 1…
0
votes
1 answer

Interview question: communication by breaking window

Here is an interview question: There are 100 distinguishable windows arranged in a straight line, 2 people and 50 days. One of them sends a message to the other by breaking any number of windows on any given day. What is the maximum number of…
0
votes
1 answer

Question about combinations using the "or"

I want to form two groups that can each contain either 5 or 6 people. I have 9 female and 8 male volunteers that would like to participate in this formation. In how many ways can this be done? This question might be really simple but I don't really…
0
votes
3 answers

There are 5 blue socks, 4 red socks and 3 green socks in Debu's wardrobe. He has to select 4 socks from this set. In how many ways can he do so?

Total number of socks = 5+4+3 = 12 4 to be selected So number of ways of selecting = 12$C$4 = 495 ways Is this correct?
0
votes
1 answer

How many n digit strings in a n+ digit string?

Is there a formula to find out how many times a string of N consecutive numbers occurs in a larger string of N+ numbers. So for example how many ways can a string of n2 numbers occur in a string of n3 numbers. So if i was searching for a string of…
0
votes
0 answers

Identifying possible combinations

Please forgive my lack of skill and terminology. I am attempting to find the number of possible combinations available for a video editing project. There are four available video sources. Let's call them Box 1, Box 2, Box 3, and Box 4. Each of…
0
votes
0 answers

Gender combinations

This is just a question I came up with. Let's say there are just two genders and we want to know how many possible gender combinations a couple chosen at random can have, that is order doesn't matter? It is easy to solve this by making an ordered…
Abhinav
  • 37
0
votes
1 answer

The rerangements by choose $n$ numbers from $1$ to $m$ ($m\geq n)$

After I learned the Error permutation problems, I start to think the more complicated situations. Choose $n$ different numbers from number $1$ to $m$ ($m≥n$) to make a permutation,what's the sums of permutations that all i-th $(0
0
votes
0 answers

Looking to solve a math problem with Possible Combinations

I am trying to solve for the total number of combinations of 3 separate parts. No part can be used more than once and each part must go within its own set of parts. For example part A has 3 parts to choose from. Part B has 9 parts to choose from,…
0
votes
1 answer

Combinations with mutual exclusivity

I have a set S of n elements, from which I will choose combinations of m elements. Normally, this is fairly basic. However, certain elements within S are mutually exclusive. This can be in pairs, or larger subsets, of which only 1 can at most exist…
Weckar E.
  • 251
  • 1
  • 7
0
votes
0 answers

We have two tails and 3 heads. Find the number of ways in which 2 heads are placed adjacent to each other?

I tried the most ubiquitous taught way. Bundle two heads together {HH}. Now, we have H,{HH},T,T. We have $\frac{4!}{2!}$ combinations if we consider H and {HH} distinct. So in the previous calculation H{HH}TT and {HH}HTT are both counted (and…
SSB
  • 97
  • 6