Notes: The solver does not account for double factorials like (3!)!. There is no guarantee that all solutions are found or all found solutions are mathematically correct. The solution for 1 is known to sometimes be incorrect.
The code for this solver can be found here.