|
Variations without repetition
|
|
Returns number of variations without repetition.
syntax
Variations(number_all_objects;number_chosed_objects)
number_all_objects (n) - number all objects
number_chosed_objects (k) - number objects in variations
notice
- given values are converter into integer number
- number_all_objects must be greater or equal number_chosed_objects
- formula of then function: n!/(n-k)!
example
Variations(4;2) = 12
example 2
There are 9 blocks with numbers 1-6 on each faces.
How much numbers in four figures can we assemble choosing 4 blocks which are
not repeat.
solution
Variations(9;4) = 3024 numbers