Template:Combinations and permutations

From Rosetta Code
Revision as of 18:45, 8 July 2020 by rosettacode>Gerard Schildberger (indented.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
The number of samples of size k from n objects.

With   combinations and permutations   generation tasks.

Order Unimportant Order Important
Without replacement
Task: Combinations Task: Permutations
With replacement
Task: Combinations with repetitions Task: Permutations with repetitions