https://webdevelopment.pythonprogramminghelp.com/5-no-nonsense-fractional-replication-for-symmetric-factorials/