A set of functions to deal with analytical formulae.
Helper to calculate all the non repeated permutations of the list given.
Helper to calculate all the permutations of the list given.