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

How to use combination in this question

In how many ways can n people be divided into 2 equal groups or 3 equal groups (given that n is a factor of 6) I don't know how to utilize combination to solve this problem, as it is about splitting people into groups instead of finding how many…
nabu1227
  • 879
0
votes
1 answer

Combinations in sets

Say a set $X=\{A,B,C,D\}$ How many proper subsets does it have? And how do you determine this? I thought that it was 14 due to adding up combinations of: $4C_1 + 4C_2 + 4C_3$ so $4+6+4=14$ possibilities However, it turns out to be $15$ in the…
nabu1227
  • 879
0
votes
1 answer

Non-recursively generate combinations of pairs of numbers

Is there a technique to non-recursively generate all pair combinations of numbers in an integer sequence. For example for the sequence 0 ... 4: (1,0) (2,0) (2,1) (3,0) (3,1) (3,2) (4,0) (4,1) (4,2) (4,3) To clarify: I would like generate a unique…
Olumide
  • 1,241
0
votes
2 answers

How to prove this equation of combinations?

$$\sum_{i=k}^n\binom ik=\binom{n+1}{k+1}$$ $$n,k\in N^+;n\ge k$$ Or it can be expressed as: $$\sum_{i=k}^ni(i-1)\cdots(i-k+1)=\frac{n+1}{k+1}n(n-1)\cdots(n-k+1)$$ $$n,k\in N^+;n\ge k$$
chaosink
  • 123
0
votes
1 answer

Test's we can use when two combinations are equal

If we have the expression:$$\binom{n}{2r+4}=\binom{n}{r-7}$$ then what are some formulas we can use to get to the value of $r$ straightaway? I has to use trial and error after expanding the expression, and i know formulas related to such…
0
votes
0 answers

Combinations question: choose number of balls to give a desired probability of winning?

Let's say I have a lottery where each player chooses 6 unique balls. There are 5000 players. How do I choose the number of balls so that there's a ~95% probability of winning??? I can do this by using the following function: function getRange(int…
Eamorr
  • 225
0
votes
1 answer

Combinations Question - Putting pamphlets into mail-boxes.

Nehemiah has 10 pamphlets which he wishes to put in 13 mail boxes. In how many different ways may he do so if two mail boxes are to have two pamphlets each while the rest have a maximum of 1 pamphlet each and all pamphlets are identical? The answer…
0
votes
1 answer

Selecting a group from subsets such that not all are represented in the final group.

This is a question given in a previous Statistics test that I am going through (answer provided) At a gathering, there are $6$ Zimbabweans, $4$ South Africans, $3$ Tanzanians and $4$ Americans. In how many different ways can $6$ people be randomly…
0
votes
1 answer

Find a formula to get all the combinations for LED Lighting measurement on TV Cabinets

Problem Statement: There are three different types of cabinets with width (40 cm, 60 cm, 80cm). Then we have LED light strips of dimensions - 40 cm, 60 cm, 80 cm, a starter kit of 40 cm and a special 'power socket' of 20 cm. These cabinets can…
0
votes
1 answer

Number of 'good words' that can be formed?

A “good” word is any seven letter word consisting of letters from {A,B,C} (some letters may be absent and some letter can be present more than once), with the restriction that A cannot be followed by B, B cannot be followed by C, and C cannot…
user405925
  • 343
  • 3
  • 13
0
votes
2 answers

Probability of number sequence

A number is consist of 4 sequence numbers, 0 or 1. First, we choose 4 numbers to make a number. Next, we choose a number which differ in exactly two digits for the first one. How many numbers can we take? The answer is $2^4$${4 \choose 2}$. How…
maki
  • 213
0
votes
1 answer

Problem on Basic Combinations

A debate club consists of $6$ girls and $4$ boys. A team of $4$ members is to be selected from this club including the selection of a captain (from among these $4$ members) for the team. If the team has to include at most one boy, then the number…
Karthik
  • 203
  • 1
  • 10
0
votes
1 answer

Why does there have to be a disjoint case in this "at least" combination problem

In the problem "There are 12 fuses, 5 of which are blown-out. In how many ways can 4 fuses be selected such that at least 3 are blown-out?" The answer is (5C3)(7C1) + (5C4)(7C0) My question is why it cannot be (5C3)(9) when the nature of the…
0
votes
3 answers

Number of ways to choose 3 items out of 8 if 2 items can not both be choosen

Here is a better definition of the problem: Consider a set of 8 unique items. 3 of these items need to be chosen. Additionally there are 2 items in this set that can not both be chosen simultaneously. The question is: how many ways combinations of…
Filip
  • 497
0
votes
2 answers

All possible passwords with 9 characters and limitations.

Limitations are: no repetitions, all lowercase(26) and must be in ascending order. Now the main problem here is ascending order, so if you know any good resources that tackle this problem I would be very grateful. Also sorry if the questions has…
gx15
  • 1