1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
krek1111 [17]
3 years ago
8

Consider all length-13 strings of all uppercase letters. Letters may be repeated.

Mathematics
1 answer:
serg [7]3 years ago
5 0

a. Your answer is correct, 26 choices for each of 13 positions, so \boxed{26^{13}} total possible strings.

b. You have the right idea, but your method only counts one type of permutation, like

C H A R I T Y _ _ _ _ _ _

but doesn't account for other arrangements like

_ _ _ C H A R I T Y _ _ _

or

_ _ _ _ _ C H A R I T Y _

Treating CHARITY as one letter, we're then considering strings of length 7 (6 open slots plus this string), which we can arrange in 7! different ways. So the total number of such strings is \boxed{7!26^6}.

c. This one is a bit more involved. I would go about it by counting the number of strings containing CHARITY but not HORSES, HORSES but not CHARITY, and both CHARITY and HORSES.

  • CHARITY but not HORSES

As we know from part (a), there are 7!26^6 strings containing CHARITY, but the string HORSES can be found whenever there are 6 open slots to either side of CHARITY, i.e. in strings of either form

C H A R I T Y _ _ _ _ _ _

or

_ _ _ _ _ _ C H A R I T Y

Then there are 2 strings that we want to remove from the count, giving 7!26^6-2 such strings.

  • HORSES but not CHARITY

Reasoning as we did in part (b) suggests that there are 8!26^7 possible strings containing HORSES, and reasoning as we did in the previous case suggests only 2 of these contain CHARITY, giving a total of 8!26^7-2 such strings.

  • CHARITY and HORSES

There are 2 such strings,

C H A R I T Y H O R S E S

H O R S E S C H A R I T Y

Then by the inclusion-exclusion principle, the number of strings containing either CHARITY or HORSES is (7!26^6-2)+(8!26^7-2)-2=7!26^6209-6.

Finally, the number of strings containing neither CHARITY nor HORSES is complementary to the number of strings containing either of them, so the total is 26^{13}-(7!26^6209-6)=\boxed{26^{13}-7!26^6209+6}.

You might be interested in
Witch number are irrational <br><br> A.11<br> B.0151155111555...<br> C.-14<br> D.5/7<br> E.(9.4)
Ludmilka [50]

Answer:

B. .0151155111555...

Step-by-step explanation:

A.11   integer  (rational)

B.0151155111555...   non terminating or repeating decimal ( irrational)

C.-14   integer  (rational)

D.5/7   fraction (rational)

E.(9.4)   94/10 (rational)

6 0
4 years ago
Read 2 more answers
Please help to Solve for v.
MAXImum [283]
V^2 + 3v - 4 = 0 can be factored:  (v+4)(v-1) = 0.  Then v = -4 and v = 1.
3 0
4 years ago
Read 2 more answers
Please help me with this. I think I understand it and know what it is but I just want someone to check it for me to see if I'm r
arsen [322]
Ok, so
Length = L
Width = L + 7

Since area = length x width, then

30 = L × (L + 7)

Remember that L + 7 Is width so...

L + 7 = 30/L

So the expression for the width in terms of length would be...
w = 30/L - 7
8 0
3 years ago
Given ED, DB which statements about the figure are true? Check all that apply.
Klio2033 [76]

Answer: EB is bisected by DF

A is the midpoint DF

EB is a segment bisector

FA=1/2FC.

Step-by-step explanation:

6 0
3 years ago
A cylindrical barrel with a radius of 12 feet rests on its round side against a wall. A ladder leans against both the barrel and
frosja888 [35]
The answer is 24 cool
5 0
3 years ago
Other questions:
  • Find the value of s:1/3s+14=26
    13·2 answers
  • What’s the solution to 3y=x - 4 and 6x - 6y = 8
    8·2 answers
  • Can you please help me understand this question please?
    14·1 answer
  • Solve the linear inequality−110x+1≤9 Question 1 options: x≥−80 x≤−89 x≤−80 x≥−89
    6·1 answer
  • Help??? Pls??? :v <br> .<br> .<br> .<br> .<br> .
    7·1 answer
  • Look at this graph what is the y- intercept?
    7·1 answer
  • A.35<br> B.45<br> C.135<br> D.145
    11·2 answers
  • Select the letter of the correct answer *
    12·2 answers
  • Will mark brainiest!!!!!
    10·2 answers
  • Which of the following are solutions to the equation below? Check all that apply. (3x - 5)2 = 19 O A. x= 19+ olm B. x= 119 +5 I
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!