I have this question in front of me:
How many different four letter word can be formed using the letters of “power” such that at least one letter is repeated within the new word.
I solved this using this concept:
I have four places, so at each place there can be 5 letters placed, assuming 2 places as one (because the letted in both the places is same) and multiplying $5×5×5$ I get 125. Now because in those 2 places any of the 5 nos. can come so I will multiply 125 by 5 again which gives me 625, but this is wrong... the correct ans is 505. Kindly help me where I am wrong.
Ignoring the restriction, there are $5^4=625$ possible four-letter words that can be formed. The ones with no repeated letters – the excluded words – number $^5P_4=\frac{5!}{(5-4)!}=120$. Therefore there are $625-120=505$ admissible words.