# Template:Combinations and permutations

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