How many ten letter words are there with no repeated letters that contain neither the word ERGO nor the word LATER?
I am thinking that there are 26^10 words with ten letters and 26P10 10 letter words with repeated lettes.
So I would begin by taking 26^10 - 26P10, but not sure how to subtract the words containing ERGO or LATER. Also not sure what to add to the end to account for the words that repeat and contain ERGO, the words that repeat and contain LATER, the words that contain ERGO and LATER, and the words that contain repeated letters and contain ERGO and LATER.
all words with no repetetion: $P\left( 26,10 \right)$
words including ERGO: forms are like (ERGO_ _ _ _ _ _ ) or (_ _ ERGO _ _ _ _ )
$P\left( 22,6 \right)\cdot 7$ words.
words including LATER: similarly
$P\left( 21,5 \right)\cdot 6$ words.
including both: ERGOLATER_
$P\left( 3,3 \right)$ words.
now use inclusion-exclusion principle
$P\left( 26,10 \right)-\left[ P\left( 22,6 \right)\cdot 7+P\left( 21,5 \right)\cdot 6\text{ }\!\!~\!\!\text{ } \right]+P\left( 3,3 \right)$