I am trying to 10 different objects in the maximum different combinations, so 10! combinations, and be able to use each combination in my code. I hear you are supposed to used a factoradic representation of the number, but im not quite sure how to go about this?

thanks in advance.