Variations without repetition
Returns number of variations without repetition.
number_all_objects (n) - number all objects
number_chosed_objects (k) - number objects in variations
- 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)!
Variations(4;2) = 12
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
Variations(9;4) = 3024 numbers