Cal11 calculator

N Choose K on Calculator

Reviewed by Calculator Editorial Team

Combinations (n choose k) are a fundamental concept in combinatorics and probability. This calculator helps you compute the number of ways to choose k items from a set of n items without regard to order. The result is written as C(n,k) or nCk.

What is n choose k?

In combinatorics, n choose k (also written as C(n,k) or nCk) represents the number of ways to choose k elements from a set of n distinct elements without regard to the order of selection. This is also known as a combination.

For example, if you have 5 different fruits and want to choose 2 to make a smoothie, the number of possible combinations is C(5,2) = 10. This means there are 10 different ways to choose any 2 fruits from the 5 available.

Formula

The formula for combinations is:

C(n,k) = n! / (k! × (n - k)!)

Where:

  • n! = factorial of n
  • k! = factorial of k
  • (n - k)! = factorial of (n - k)

The factorial of a number is the product of all positive integers up to that number. For example, 5! = 5 × 4 × 3 × 2 × 1 = 120.

This formula calculates the number of ways to choose k items from n items without regard to order.

When to use combinations

Combinations are used in various fields including:

  • Probability and statistics
  • Game theory
  • Economics
  • Computer science
  • Everyday decision-making

For example, combinations are used to calculate the number of possible poker hands, the number of ways to arrange items in a set, or the number of possible lottery combinations.

Examples

Example 1: Choosing a committee

Suppose you have 10 people and want to form a committee of 3 members. The number of ways to choose this committee is C(10,3).

C(10,3) = 10! / (3! × 7!) = 120

This means there are 120 different possible committees of 3 members that can be formed from 10 people.

Example 2: Lottery combinations

In a lottery where you need to choose 6 numbers from 49, the number of possible combinations is C(49,6).

C(49,6) = 49! / (6! × 43!) = 13,983,816

This means there are 13,983,816 different possible combinations of 6 numbers that can be drawn from 49 numbers.

Example 3: Card game hands

In a standard 52-card deck, the number of possible 5-card poker hands is C(52,5).

C(52,5) = 52! / (5! × 47!) = 2,598,960

This means there are 2,598,960 different possible 5-card hands that can be dealt from a standard deck of 52 cards.

FAQ

What is the difference between combinations and permutations?
Combinations are used when the order of selection does not matter, while permutations are used when the order of selection does matter. For example, choosing a committee of 3 people is a combination, while arranging 3 people in a line is a permutation.
When should I use combinations instead of permutations?
Use combinations when the order of selection does not matter. For example, when selecting a team, the order in which you pick the members doesn't matter. Use permutations when the order does matter, such as when arranging items in a specific sequence.
Can I use the combinations formula for large numbers?
Yes, you can use the combinations formula for large numbers, but be aware that factorials grow very quickly and can result in very large numbers. For very large values of n and k, you may need to use specialized software or algorithms to compute the result efficiently.
What is the relationship between combinations and binomial coefficients?
Combinations are also known as binomial coefficients, which are used in the binomial theorem. The binomial coefficient C(n,k) represents the coefficient of the term in the expansion of (x + y)^n.
How can I verify the results from this calculator?
You can verify the results by using the formula C(n,k) = n! / (k! × (n - k)!) and calculating the factorials manually. For small values of n and k, this is straightforward. For larger values, you may need to use a calculator or programming tool to compute the factorials accurately.