How to find out the total number of possible combinations of matrices to multiply where n is the number of matrices
Number of matrices 3 4 5 6
Number of combinations 2 6 24 ?
Unique Combinations 2 5 14 ?
What is the algorithm to calculate this?
Any help would be really appreciated.