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
2 answers

Arrangement of people in a row

If six women and six men are to be seated in a row alternately , what is the number of possible arrangements ? According to the answer it’s should be $2(6!)^2$ however I just wanted to verify what is wrong with the approach that I chose ? First…
Aditi
  • 1,349
0
votes
1 answer

Number of potential combinations

Suppose we have a card which is used as a security device. This grid is always the same for a particular person and is a 10 x 7. Each cell of this grid contains two random letters or numbers 0-9 Ex. col 1 row 1 = "QW". The password generated from…
0
votes
0 answers

Combinations of numbers summing up to 31 with 2 numbers repeating twice

I'm wondering how many combinations of number I can get and what they are with the following rules applied: 6 digits of numbers summing up to 31 2 pairs of the same numbers
0
votes
2 answers

$f:\{1,2,\ldots,100\}\rightarrow \{1,2,\ldots,200\} $. How many functions can be made?

I need to find out how many strictly increasing monotonic functions $$f:\{1,2,\ldots,100\}\rightarrow \{1,2,\ldots,200\} $$ exist. And I do believe, that the answer should be $\binom{200}{100}$, but I have no idea how to prove it. How can I creat…
Karagum
  • 1,318
0
votes
1 answer

3 Heads in 10 Coin Flips

Q: Count the number of ways to get 3 heads in 10 flips of a coin. A: 10!/(3!7!) I wonder why it is a combination problem. The post Probability of 3 Heads in 10 Coin Flips (2nd answer): "We can choose $3$ objects from $10$ in $\binom{10}{3}$ ways" I…
Hei
  • 125
0
votes
1 answer

Combination question: Which solution is correct?

Q: There is a list of vectors $ (x_1,...x_n) $ each $ x_i $ is either $0$ or $1$; Determine the number of vectors that satisfy the equation bellow: $$ \sum_{i=1}^n x_i \leq k $$ so knowing that $k$ is a number greater or equal to $0$, we know we…
parvin
  • 209
0
votes
3 answers

Combination array starting point

This is probably easy for you guys but I can't find the answer anywhere and my maths isn't quite up to answering it. It's obviously easy to work out the number of different states the array can have but the following I can't answer:- Array of 256…
Bipman
  • 5
  • 1
0
votes
1 answer

Number of Possibilities Using Set of Rules

Let's say I have 5 variables (a,b,x,y,z). Each variable $\in (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15)$. The length of each variable must be 3. So a can be e.g. ${1,2,3}$ or ${2,3,4}$ or ${3,4,5}$, etc... The numbers is each variable must be…
0
votes
1 answer

How to calculate total no of groups

How to calculate total no of arrangements of n+m objects into groups of any number? For example, if we have 3 black balls and 1 white ball than all groups are- $$(bbbw);(b,bbw);(bb,bw);(bbb,w);(b,bb,w);(b,b,bw);(b,b,b,w) $$ Hence here $7$ groups are…
0
votes
2 answers

Finding the number of combinations (including repeated letters)

I'm trying to figure out how to find the number of possible combinations of a set, but with allowing repeated letters. For example, if I want two letters, and they have to be $a$ or $b$, then I could have $aa, ab, ba, bb$. Is there some sort of…
0
votes
1 answer

How to calculate amount of unique combinations using formula?

First of all, I apologize if this question is considered "stupid", but I don't even know what term to search for in English to find an answer to my problem, I've tried googling it and searching here but to no avail. The questions I found were sort…
0
votes
3 answers

Calculating large factorials without a calculator

My calculator cannot calculate anything over 69!, so how would I calculate $\frac{80!}{60! \cdot 20! }$ without having to calculate $\frac{80\cdot79\cdot78...61}{20\cdot19\cdot18...2}$ which would take a very long time to input?
user453334
0
votes
1 answer

How to count how many times a member occurs in a combination?

I have a set like this: A = {1, 2, 3, 5}. From this set, I can create many set like this: Only one member in a new set: {1}, {2}, {3}, {5}. And the times a member occurs is equal to 1. ( Yes, 1, 2, 3, and 5 just occurs 1 times). 2 members in a new…
0
votes
2 answers

Why do we need to divide by 2! while considering the combinations in Enigma machine?

I would like to know why do we need to divide by 2! while considering pairs in p.11 of Enigma Machine.The article says that: "Number of ways to choose four letters from 26 letters is $\frac {{26 \choose 4}{4 \choose 2}{2 \choose 2}}{2!}$" but I…
justin
  • 367
0
votes
0 answers

What is the total number of combinations of n elements when repetition is allowed?

Say we use four elements where three elements are same and one is different A,A,A,B now total number of possible combinations are A, B, AA, AB, AAA, AAB, AAAB, So ans=7
mukesh
  • 1