I am trying to understand what permutations mean, so I am taking two 6 sided dice and rolling, the total permutations are 36 - this is something that I understand
(1,1), (1,2), (1,3), (1,4), (1,5), (1,6)
(2,1), (2,2), (2,3), (2,4), (2,5), (2,6)
(3,1), (3,2), (3,3), (3,4), (3,5), (3,6)
(4,1), (4,2), (4,3), (4,4), (4,5), (4,6)
(5,1), (5,2), (5,3), (5,4), (5,5), (5,6)
(6,1), (6,2), (6,3), (6,4), (6,5), (6,6)
now I want to understand the permutation formula nPr=n!(n−r)! for the same use case above
- what is n and what is r? if n=6 and r=2 then the number of permutations only come to 30 and not 36, so my n and r are not correct.