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 do you calculate the possibilities of an alphanumeric string?

I want to know how many combinations are possible with a 4 character 4 digit string. All capital. Ex. ABCD1234, AAAA0000 - ZZZZ9999. What's the answer but more importantly, what's the formula? Random attempt 1: 26+26+26+26+10+10+10+10 =…
1
vote
1 answer

Combinatorial Addition

I am working through Discrete Mathematics by Lovasz and Vesztergombi. In the chapter on graphs, they have the following: $\binom{k}{2}$ + $\binom{n-k}{2}$ = $\binom{n-1}{2}$ - $\frac{(k-1)(n-k-1)}{2}$ I cannot see how the right-hand side is derived…
dacastr
  • 149
1
vote
0 answers

Splitting objects into groups of 0 or more

You have g groups and o object. Determine a formula to calculate all possibilities. For example, if we set g = 3 and o = 3 we should get 10. 3 0 0 0 3 0 0 0 3 2 1 0 2 0 1 1 2 0 1 0 2 1 1 1 0 1 2 0 2 1 I came to this answer by brute force counting…
1
vote
1 answer

Nine pax are to be divided into 4 grps. Find the number of ways this can be done if 1 grp consists of 3 pax and the other 3 grps consists of 2 each

Nine pax are to be divided into 4 grps. Find the number of ways this can be done if 1 grp consists of 3 pax and the other 3 grps consists of 2 each. My solution: I will choose 3 out of 9 people first, and then I'll have 6 people left to choose 2…
Jus
  • 285
1
vote
2 answers

How many different sets of $9$ questions can the student select ?

A history examination is made up of $3$ set of $5$ Question each and a student must select $3$ questions from each set . How many different sets of $9$ questions can the student select ? I am in dilemma how i can use combination formula
SSK
  • 673
1
vote
0 answers

Get the number of combinations of a set from 1 to k which result in a given sum?

For example, k = 2; sum = 4. The answer would be 5: 1111, 112, 121, 211, 22 Is there a mathematical formula to count these?
1
vote
1 answer

The number of integer solutions to an equation

How many integer solutions are there to the equation $x_1 + x_2 + x_3 = 0$ if $x_i \geq -5$ for all $i$? Answer: I know the answer is $C(15 + 3 - 1, 15)$, which is derived from the formula $C(r + n - 1, r)$. I understand such problems if we are…
Chesso
  • 245
1
vote
1 answer

How to find a maximum value for discrete combinations/permutations

I'm a layperson when it comes to maths so I don't know exactly what terms I should use to search for, or even describe the problem, so apologies if this is a duplicate already answered. I come from a programming background. This example is a…
1
vote
2 answers

Proving Binomial Random Variable Identity

Good Morning All, May I ask for a clue to the following problem? I got stuck and I am now wondering if I understood the problem correctly. Let X, Y be independent random variables bin(m, p), bin(n, p) respectively. Show that X+Y is a binomial…
Andy Tam
  • 3,367
1
vote
2 answers

Why is the cardinal number of power set $2^n$?

Why does the total no. of subsets of $n$ elements equal $2^n$? I was taught that it is because each element has two choices either making a set or not. Thus giving $2×2×2\ldots$ subsets. But I didn't understand how does it work in giving this…
ananya bht
  • 11
  • 1
1
vote
2 answers

Prove that for all $n \in \mathbb{N}$, $\sum_{k=0}^{n-1}{n+k-1\choose k}\frac 1{2^{n+k}}=\frac12$

$$ \sum_{k=0}^{n-1}{n+k-1\choose k}\frac 1{2^{n+k}}=\frac12$$ To be honest, I can't really get started, I would like to ask everyone to give me an idea of ​​how to solve it, give me a starting push, thank you.
panda
  • 13
1
vote
0 answers

Combination type problem power of 2

How many different ways could I factor $2^{2n}$ so that each factor is a even power of $2$? So for example if I have $2^{12}$ and I want to write it as 3 factors of even powers of $2$ I could do $2^{2} \cdot 2^4 \cdot 2^6$.
thestar
  • 169
  • 11
1
vote
1 answer

How many combinations are possible from two sets of items, which can also be a combination of their members?

Pardon my crudeness, as I'm not a mathematician. I have two unequal sets of items: $A = \{a,b,c,d,e,f\}$ and $B = \{1,2,3,4,5,6,7,8,9\}$. The members in each set can have multiple combinations. For example: $\{ab,abc,...\}$ and $\{1,12,123,...\}$.…
dnaeye
  • 113
  • 2
1
vote
1 answer

If $n \gt 7\,\,$, then prove that $C^{n-1}_3+ C^{n-1}_4 \gt C^{n}_3$ .

I am stuck on the following problem that says ; If $n \gt 7\,\,$, then prove that $C^{n-1}_3+ C^{n-1}_4 \gt C^{n}_3, \,\, \text{where}\,\, n\in \mathbb{N} $ and $\,\,C^n_r=\frac{n!}{r!(n-r)!}$ My try: For $n \gt 7\,\,$, we check if the statement…
learner
  • 6,726
1
vote
1 answer

Possible combinations of $4$ pieces of $A$ and $4$ pieces of $B$

I've worked out the question by trial and error, but I'm just wondering whether there is a more formal method of solving this problem. The problem is as follows: $4$ pieces of white cubes and four pieces of black cubes are equally spaced around a…