I have to list all permutations of given 3 integers, before I start - I did look for it online, but I didnt find anything that fits my needs.
I need to find all permutations of three, six sided die. I have a bet going on with a friend and my teacher.
Im able to prove that all the posibilities (not permutations) are 216 (6x6x6) and able to make an array that contains all of them.
I need to find the permutations of those though, and Im quite challenged here. I also need to filter out the repeated ones. for example, from one roll I get 1, 2, 3 so the permutations are 1,2,3 1,3,2 2,3,1 3,2,1 3,1,2 2,3,1 but then from a different roll Il get 3, 2, 1 so the permutations are the same, I need to filter those out and find the exact number of unique permutations.
any help?