operation
Binomial Coefficient Calculator -- n Choose k
Compute the binomial coefficient C(n,k) and explore Pascal\'s triangle row n.
Beispiel ausprobieren
Wähle ein Szenario, um zu sehen, wie der Rechner funktioniert, und passe dann die Werte an
(a+b)⁵ Expansion — Find the Coefficient of a³b²
What is the coefficient of a³b² in the expansion of (a+b)⁵?
Wichtige Werte: n = 5 · k = 2 · C(5,2) = 10
Poker: 5-Card Hands from 52
How many distinct 5-card poker hands exist?
Wichtige Werte: n = 52 · k = 5 · C(52,5) = 2,598,960
The Binomial Theorem
The binomial coefficient appears as the coefficient in the expansion of :
For example, , where the coefficients 1, 4, 6, 4, 1 are row 4 of Pascal's triangle.
Computing Binomial Coefficients
The factorial formula is conceptually simple but overflows for large . Two practical alternatives:
Multiplicative Formula
Multiply and divide step by step — each intermediate result is always an integer.
Pascal's Recurrence
Build a table row by row — no multiplication needed, just addition.
Binomial Coefficients in Probability
The binomial distribution uses to count the number of ways to get exactly successes in independent trials:
| Scenario | n | k | Ways | |
|---|---|---|---|---|
| 3 heads in 5 coin flips | 5 | 3 | 10 | HHHTT, HHTHT, … |
| 2 sixes in 4 dice rolls | 4 | 2 | 6 | SSXX, SXSX, … |
| 4 defects in 20 items | 20 | 4 | 4,845 | Quality control |
Useful Identities
- Vandermonde's identity:
- Hockey stick:
- Absorption:
Frequently Asked Questions
What is a binomial coefficient?
The binomial coefficient , also written as “n choose k,” counts the number of ways to choose items from items without regard to order. It equals and appears as the coefficients in the expansion of .
How does the binomial theorem use binomial coefficients?
The binomial theorem states that , summed from to . Each term's coefficient is the corresponding binomial coefficient from row of Pascal's triangle.
How do binomial coefficients relate to probability?
The binomial distribution uses to count outcomes. The probability of exactly successes in independent trials, each with probability , is . For example, getting exactly 3 heads in 5 fair coin flips has favorable outcomes.
What is the multiplicative formula for computing binomial coefficients?
Instead of computing full factorials (which overflow for large ), use for from 1 to . Each intermediate result is always an integer, making this method practical for large values.
What are the most useful binomial coefficient identities?
Key identities include symmetry , Pascal's recurrence , the row sum , and Vandermonde's identity .
Related operation Variants
Explore more operation options
Permutation
Permutation Calculator -- nPr
Combination
Combination Calculator -- nCr
PascalTriangle
Pascal\'s Triangle Generator
Factorial
Factorial Calculator -- n!
StarsAndBars
Stars and Bars Calculator -- Combinations with Repetition
More Math Calculators
Explore the category