a) How many strings of 8 distinct letters can be made from the letters {a,b,c,d,e,f,g,h}?
b) How many of the strings you found in (a) do not have any of the elements of {a,b,c} next to each other?
The first part (a) is easy, it's just 8!. But I have no idea how to solve the second part. I understand what the question is asking, it wants all the permutations of the letters from the set {a,b,c,d,e,f,g,h} where ab, bc, ac, ba, cb, ca, cannot be in the permutation, but I still don't know what to do.
The answer is 5!(6 x 5 x 4).