katherine3084
katherine3084
17.07.2019 • 
Mathematics

consider all length-13 strings of all uppercase letters. letters may be repeated.
(a) how many such strings are there?
(b) how many such strings contain the word charity?
(c) how many contain neither the word charity nor the word horses?
for a, i got 26^13, since there are 13 possible spaces for the string and each space has 26 choices. for part b i just got 26^6, since i treated charity as 1 block and then there was 6 other available spaces. for c, i did 26^13 - 26^6 - 26^7 since it wanted the amount without the two words. i wanted to check my thought process, since i am unsure if we need to multiply the answers by how many avaliable elements there are.

Solved
Show answers

Ask an AI advisor a question