Kombinácia kalkulačka (nCr)
Spočítajte spôsoby, ako vybrať r položiek z n, keď poradie nie je dôležité.
Výsledky sa aktualizujú počas písania.
O tejto kalkulačke
combination counts how many ways you can choose r items from a set of n when order does not matter — picking the same group in a different sequence counts once. This calculator returns the exact count, the formula, and the matching number of ordered arrangements (nPr) for comparison. This calculator returns the exact count, the formula, and the matching number of ordered arrangements (nPr) for comparison. Choosing none or all gives nC0 = nCn = 1, and as with permutations, r cannot exceed n.Combinations answer "how many groups?" — the odds in a lottery, the number of possible five-card poker hands, ways to pick a committee, or terms in a binomial expansion.Combinations answer "How many groups?"Combinations answer "How many ways you can choose r items from a set of n when order does not matter — picking the same group in a different sequence counts once."Combinations answer "how many groups?" — the odds in a lottery, the number of possible five-card poker hands, ways to pick a committee, or terms in a binomial expansion.Combinations answer "how many ways you can choose r items from a set of n when order does not matter — picking the same group in a different sequence counts once."Combinations answer "how many groups?" — the odds in a lottery, the number of possible five-card poker hands, ways to pick a committee, or terms in a binomial expansion.Combinations answer "how many groups?" — the odds in a lottery, the number of possible five-card poker hands, the number of possible five-card poker hands, the number of possible five-card poker hands, the number of possible five-card poker hands, the number of possible five-card poker hands, the number of possible five-card poker hands, the number of possible five-card poker hands, the number of possible five-card poker hands, the number of possible five-card poker hands, the number of possible five-card poker hands, the number of possible five-card poker hands, the number of possible five-card poker hands, the number of possible five-card poker hands, the number of possible five-card poker hands, the number of possible five-card poker hands, the number of possible five
Často kladené otázky
Čo je kombinovaný vzorec?
nCr = n! / (r! × (n − r)!). Pre 10 položiek, ktoré sa berú 3 naraz: 120 rôznych skupín.
Prečo je nCr menší ako nPr?
Kombinácie ignorujú poradie, takže každá neusporiadaná grupa zodpovedá r! usporiadaným permutáciám, preto nCr = nPr ÷ r!.
Kedy by som mal používať kombináciu?
Keď na poradí nezáleží: lotérie, karty, výber výboru alebo akýkoľvek výber, kde sa počítajú skupiny, nie ich usporiadanie.
Čo je binomický koeficient?
Je to iný názov pre nCr, hodnotu "n vyber r", ktorá sa objavuje v binomiálnej vete a tvorí členy Pascalovho trojuholníka.
Čo je nC0 alebo nCn?
Obidve sa rovnajú 1 — existuje jeden spôsob, ako si vybrať žiadne, a jeden spôsob, ako si vybrať všetky.
Zobrazuje tento nástroj aj permutácie?
Zobrazuje nPr = nCr × r! vedľa kombinácie, takže môžete porovnať usporiadané a neusporiadané počty.
API — použite túto kalkulačku z kódu
Zavolajte túto kalkulačku ako voľný koncový bod JSON – nevyžaduje sa žiadny kľúč.Odoslať hodnoty polí nižšie ako parametre dotazu alebo JSON. Prečítajte si celú dokumentáciu API →
Koncový bod
GET https://calculator.free/api/v1/combination/
curl
curl "https://calculator.free/api/v1/combination/?n=10&r=3"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/combination/?" + new URLSearchParams({
"n": "10",
"r": "3"
}));
const data = await r.json();
console.log(data.results);
Výsledky sú odhady len pre všeobecné usmernenie, nie finančné, lekárske alebo daňové poradenstvo.