RobDET wrote:the reason it is less is becasue some of the letters are repeated. Their are only 9 possible letters.
you're right, i didn't take the repeated letters into account. there are 10 unique letters in PERPENDICULAR, so it does make sense that the total is less than my 13! :pface
i don't think n!/(n-r)! works here. take the word DOD for example, there are 3 permutations: DOD, ODD, DDO. according to you there should be 3!/(3-2)! = 6.
i think in this case the correct formula is:
n!/(n1!n2!...nt!)
it's used for counting generalized permutations, it applies if a sequence of n items has n1 identical items of type 1, n2 identical items of type 2, ..., nt identical items of type t.
so for the word DOD:3!/2! = 3
and for the word PERPENDICULAR:13!/(2!2!2!) = 778,377,600