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

Sum of the product of two combination

Here is a problem: I have $i$ red marbles, which are all different and $N-i$ blue marbles, which are also all different. Let's assume that $i
Med
  • 2,530
1
vote
2 answers

A committee of three people is to be chosen from four married couples.

A committee of three people is to be chosen from four married couples. How many committees are there such that no two members of the committee are married to each other?
Nonofo
  • 11
1
vote
1 answer

Combination of excursion

From a class of 25 students 10 are to be chosen for an excursion party. There are 3 students who decide that either all of them will join or none of them will join. In how many ways can the excursion party be chosen
1
vote
3 answers

How many ways are there to arrange the digits $1$ through $9$ a $3 \times 3$ grid with restrictions?

I tried each possibility and add them together, which was very time consuming. What is the easiest way to solve this problem? Thank you very much in advance! How many ways are there to arrange the digits $1$ through $9$ in this $3 \times 3$ grid,…
user321645
1
vote
0 answers

How many ways to compare the means of g groups

Consider measurements taken from $g$ groups, with the mean $\mu_g$ being the mean of the measurements for group $g$. I am trying to determine the number of possible ways that these means could be compared (in statistics these are denoted as…
1
vote
1 answer

Calculating number of combinations of multiple sets, each containing different number of elements

I'm not a math genius so please consider that when posting your explanation. I have the following sets, arbitrarily named: a [a1, a2, a3] b [b1, b2] c [c1, c2, c3, c4] d [d1, d2, d3, d4, d5] e [e1, e2, e3] f [f1, f2] g [g1] Question #1) What is the…
1
vote
2 answers

How many numbers between $0$ and $1,000,000$ have exactly one digit equal to $9$ and the sum of digits equal $13$?

How many numbers between $0$ and $1,000,000$ have exactly one digit equal to $9$ and the sum of digits equal $13$? I am not sure how to start this problem to get this answer. Could someone help me with this problem?
JCMcRae
  • 843
1
vote
1 answer

Generate Combinations of Clusters

My maths background is not so strong, please go slowly. Suppose I have 3 elements, which are A, B and C. I want to find (1) the number of operations to perform to find (2) all possible clusters that can be formed out of the 3 elements. For this…
george24
  • 153
1
vote
1 answer

How is $C(n,r) = C(n-1, r-1) + C(n-1,r)$

How is $C(n,r) = C(n-1, r-1) + C(n-1,r)?$ I am watching P & C video from here I have read that suppose we have n distinct inputs. We have two possibilities: 1) Can select 2) Not select If I select one from n then I am left with $C(n-1, r-1)$ and…
1
vote
1 answer

Calculating combinations within constraints

Building out a web dev portfolio. For a web app I am working with lottery probabilities. How many combinations are there if I only choose combinations within observed maximum and minimum values? Here are the stats: The lottery I'm starting with is…
Ryderpro
  • 111
1
vote
2 answers

Summation of even combinations

In the post Sum of combinations of n taken k where k is from n to (n/2)+1, it has been explained clearly how to calculate the summation of combinations from n/2 to n. I was wondering if there is any such formula for calculating the summation of…
prasanth
  • 111
1
vote
3 answers

Finding the no. of non-negative integral solutions to $x+y+2z=33$.

Finding the no. of non negative integral solutions to $x+y+2z=33$. I tried many pure combinatorial approaches (I don't like making individual cases, too long). But they went in vain. I was just pondering, when randomly, a thought came to my…
1
vote
1 answer

Number of sequences

I am trying to find the number of linear sequences of length $100$ with a period of $10$ constructed using an alphabet of $a$ characters. Here are my thoughts. The number of sequences of length $n$ and period $d$ is the same as the number of…
1
vote
1 answer

Proper way to solve this arrangement of balls in boxes with certain conditions

Given $N$ boxes, with each box having maximum capacity to store and $M$ balls, find in how many ways can the balls be arranged in those boxes? Example: $N=2$ such that their max capacity is $5$ and $5$ respectively, $M=3$. Then answer is $4$:…
1
vote
1 answer

Different Combinations (15 from 60 numbers)

I can choose 15 from 60 numbers (1 to 60), without any repetition. e.g.: 1-5-10-15-20-25-30-35-40-45-50-55-57-58-59 How many different combinations can I choose?
Lucas NN
  • 352