Words of length 10 are formed using the letters A, B, C, D, E, F, G,H, I, J. Let 𝑥 be the number of such words where no letter is repeated; and let 𝑦 be the number of such words where exactly one letter is repeated twice and no other letter is repeated. Then,
With no letter repeated, all 10 letters fill the 10 places once each, so .
For , the letter that appears twice is chosen in ways. The other 8 places need 8 distinct letters from the remaining 9, chosen in ways. These 10 letters, one of them occurring twice, are arranged in ways.
Hence, the answer is 5.
Tagged Permutations of letters and words, rank in dictionary. Machine-assigned, so read it as a strong shortlist rather than a verdict.