Combinatorics is the branch of mathematics that devotes itself to looking for methods to count a set of elements or for the way to group elements of a set.
For example,
Example
There is a group of
One choice might be Alejandro and Carlos, or also David and Bernardo. But if we have to try all the possibilities by hand we would need a lot of time! Nevertheless, the combinatorial analysis will help us. In fact, it is very fast to calculate the solution to our example (it turns out that there are
These are two basic concepts on combinatorial analysis, i.e., factorial and combinatorial numbers.
We will call the resultant number, when multiplying all the numbers from
Example
By definition, it is said that the factorial of
On the other hand, we call the following a combinatorial number
Example
For example, the combinatorial number
As in the example, to facilitate the calculations it is very advisable to simplify the fractions first of all because, in this way, many calculations are avoided.