Kombinations- und Permutationsrechner
Kombinationen (nCr) und Permutationen (nPr) berechnen.
Eingaben
Ergebnisse
BeispielKombination (nCr)
10
So wurde gerechnet
[Is Valid] ? [Factorial N] ÷ ([Factorial R] × [Factorial N R]) : [Null]
nCr = n! / (r! × (n-r)!)
Permutation (nPr)
60
So wurde gerechnet
[Is Valid] ? [Factorial N] ÷ [Factorial N R] : [Null]
nPr = n! / (n-r)!
n! (Fakultät von n)
120
So wurde gerechnet
(() => { [If] ([N] <= 1) [Return] 1; [Let] [Result] = 1; [For] ([Let] [I] = 2; [I] <= [N]; [I] + +) [Result] × = [I]; [Return] [Result]; })()
r! (Fakultät von r)
6
So wurde gerechnet
(() => { [If] ([R] <= 1) [Return] 1; [Let] [Result] = 1; [For] ([Let] [I] = 2; [I] <= [R]; [I] + +) [Result] × = [I]; [Return] [Result]; })()
Mehr
Hat das deine Frage beantwortet?