When randomizing the order of Worldsoul, the number of possible unique permutations in which we can obtain fragments is given by:
However, there are some restrictions:
Therefore, the total number of valid permutations is:
Built by Marclap. The source code is available on Github.