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

drawing red and black marbles

You have $4$ black and $2$ red marbles in a box. You draw $3$ marbles one at a time without replacement. The first two marbles you draw can either be (1) one black and one red, or (2) no black and two red. The third marble must be black. What is…
0
votes
1 answer

How many ways can Nicole form a committee?

Nicole needs to form a committee of 3 from a group of 8 research attorneys to study possible changes to the Superior Court. If two of the attorneys are too inexperienced to serve together on the committee, how many arrangements of committees…
comb
  • 1
0
votes
2 answers

Combinations with repetition with limits.

From a Standard 52 card deck of playing cards. If 10 hands are dealt consisting of 2 cards each what is the probability of 3 of the hands being pairs? 4? 5? .... Is there a formula for this?
SteveL
  • 1
0
votes
2 answers

What are all the combinations in this case

I have 2 ordered sets: $\{A, B, C, D, E, F, G, H\}$ and $\{a, b, c, d, e, f, g, h\}$ I need to find all the ordered sets containing all $16$ of these elements, such that, The relative order of the elements in each of these two sets is preserved in…
Brent
  • 1
0
votes
1 answer

Possible numbers of schedules based on a few parameters.

I'm writing a program to brute-force a schedule for my job based on restrictions and certain parameters. To see if brute-forcing the schedule is even feasible, I decided to first calculate the total possible number of schedules based on the…
0
votes
1 answer

problems on permutation and combination

Find the total number of combinations by taking at least one green and one blue ball from five different green, four different blue and three different red balls?
0
votes
1 answer

Matching two towers of blocks in height.

This is my first post in this stack, but I have posted on StackOverflow before. Let me declare that I am a coder in search of an algorithm. This is not homework. Bart has two bags of kiddies wooden blocks, bag A and bag B. All the blocks in both…
0
votes
1 answer

Calculate Number of Unique Combination of Numbers

I want to find the total of possible unique combinations of numbers example: 1234 = 24 combinations 1233 = 12 combinations 55666 = 10 combinations can I use math formula to calculate this ? thanks
Edxz
  • 111
  • 1
  • 1
  • 3
0
votes
1 answer

Prove it by theory of combination

Consider a $100$-sided regular polygon. How can I choose three points from the $100$ points such that they will be the vertices of a right angled triangle?
user249332
0
votes
1 answer

Choosing $8$ shoes from $20$ different pairs of shoes to get at least two pairs

Let's say I have $20$ different pairs of shoes in my wardrobe. I want to know, in how many ways can I choose $8$ shoes, so that I have at least two pairs? All I know is that I can choose $8$ shoes from $40$ ($20 \cdot 2$) in…
Dargenn
  • 103
0
votes
1 answer

Basic combination of choosing teams

This is a really short question which I am sure is basic to most people on this board. In my class we have a combination question which I don't understand the solution to. Question asks to find the number of ways you can make two teams of mixed…
Kelbe
  • 41
0
votes
0 answers

in how many ways can 4 distinct people fit in 2 distinct rooms?

I tried doing this by brute force and I tried doing 4! And get 24. Is that correct and is there a better way doing this?
0
votes
1 answer

How many poker hands have exactly one pair?

I know the answer is $C_{13}^4 \times C_4^1 \times C_4^2 \times C_4^1 \times C_4^1 \times C_4^1$. But what I did was $C_{13}^1 \times C_4^2 \times C_{48}^3$. I don't understand why we need to choose the suits for the remaining $3$ cards.
0
votes
1 answer

Round table neighbor picking

Suppose there are $N$ people at a round table. How many ways, denoted as $n(N,p)$, are there to pick $p$ out of $N$ people where $p\geq 2$, so at least two are sitting next to each other? For example $N=5$: $n(5,2) = 5$ as…
yi cheng
0
votes
0 answers

How many planes are determined by n points if no 4 of the points are coplanar?

I have $n$ points in space, no $4$ of which are coplanar. How many distinct planes are determined by these $n$ points? My thoughts: 3 noncollinear points determine a plane. Therefore, it is C(n,3)?