n Choose k Calculator
A combination is a mathematical technique that determines the number of possible arrangements in a collection of items where the order of the selection does not matter.
What is n Choose k Calculator?
'Cuemath's n Choose k Calculator' is an online tool that assists in calculating the number of possible combinations of selecting a sample of k elements from a set of n distinct objects. Cuemath's online n Choose k Calculator helps you to calculate the number of combinations in a few seconds.
How to Use n Choose k Calculator?
Please follow the steps below on how to use the calculator:
- Step 1: Enter the total number of objects(n), and the sample size(k) in the given input boxes.
- Step 2: Click on the "Calculate" button to find the number of combinations.
- Step 3: Click on the "Reset" button to clear the fields and enter the different values.
How to Find the Combinations?
The combinations are defined as the number of ways in which a sample of r elements can be selected from n distinct objects that's why it is also referred to as 'n choose k'. To determine the number of combinations the following formula is used:
C(n,k) = n!/(k!(n-k)!)
It is read as the number of possible combinations of selecting a sample 'k' from 'n' distinct objects.
Find the number of ways in which 6 balls can be selected from a bag containing 9 different colored balls
Total number of balls = 9
Required Sample size = 6
Number of combinations = C(n,k) = n!/(k!(n-k)!)
C(9,6) = 9!/(6!(9-6)!)
C(9,6) = 9!/(6!(3)!)
C(9,6) = 84.
Therefore, the total number of combinations to select 6 balls from a bag of 9 balls is 84.
Similarly, you can use the calculator to find the number of possible combinations for:
- Number of objects(n) = 10 and sample size(k) = 5
- Number of objects(n) = 15 and sample size(k) = 4