How many strings of six lowercase letters from the English alphabet contain the letters a and b with all letters different? Answer: 7650720
I saw a resolution that considered the two types of strings different:
1) Possible strings not containing a nor b.
2) Possible strings not containing a and b.
But I do not understand why. Can someone explain or present another solution?