Permutazioni e combinazioni
P(n,k) e C(n,k) con precisione BigInt.
Piano di ammortamento
| # | Pagamento | Capitale | Interessi | Saldo |
|---|---|---|---|---|
Crescita nel tempo
| Anno | Investito | Valore |
|---|---|---|
Introduzione
Permutation & Combination - P(n,k) and C(n,k) with BigInt precision. Enter n, k to get an instant result.
Formula
Permutations: n!/(n−k)!. Combinations: n!/(k!(n−k)!).
Passo dopo passo
- Enter the n.
- Enter the k.
- Click Calculate to see your result instantly.
Esempio pratico
Example: With n = 10, k = 3, the Permutation & Combination gives Permutations: 720, Combinations: 120.
Domande Frequenti
What's the difference between permutations and combinations?
What if k is larger than n?
What inputs does the Permutation & Combination need?
How accurate is the Permutation & Combination?
Is the Permutation & Combination free to use?
Informazioni su Permutazioni e combinazioni
Permutations and combinations are fundamental counting techniques in combinatorics and probability. They answer questions like how many ways can you arrange or select items from a set. The Permutation and Combination Calculator on CalculatorCast computes both nPr (permutations) and nCr (combinations) for any values of n and r.
A permutation counts ordered arrangements: the order of selection matters. The formula for permutations of r items chosen from n items is nPr equals n! divided by (n minus r)!, where the exclamation mark denotes factorial. For example, the number of ways to arrange 3 letters from the set A, B, C, D, E is 5P3 equals 5! divided by 2! equals 60. The three letters A, B, C and A, C, B are counted as different permutations.
A combination counts unordered selections: the order does not matter. The formula is nCr equals n! divided by (r! times (n minus r)!). The number of ways to choose 3 letters from the same set without regard to order is 5C3 equals 10. The selection A, B, C is the same as B, A, C in a combination.
These calculations appear constantly in probability problems. The probability of being dealt a specific 5-card poker hand requires computing how many 5-card combinations exist (52C5 equals 2,598,960) and how many hands match the type of interest. The probability of winning a lottery where you pick 6 numbers from 49 is 1 divided by 49C6, which equals approximately 1 in 13.98 million.
The calculator handles large values of n and r accurately, using logarithms and the gamma function to compute factorials of large numbers without overflow. Results are shown both as exact integers and in scientific notation when needed.
The Permutation and Combination Calculator is free on CalculatorCast and works on all devices without registration.