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
Romashka-Z-Leto [24]
3 years ago
12

Consider the set of binary strings (i.e. made of zeros and one's) that do not contain the substring 11 (i.e. 1 is never followed

by another 1 in the string). Suppose that T(n) is the number of such strings with length n. A string of length n has one of two forms. It might start with a 0, in which case the rest of the string can be anything that doesn't contain 11. Or it might start with a 1, in which case the next character must be a 0, and the remaining n-2 characters can be any string that doesn't contain 11. So we can set up the following recursive definition for T(n): T(1) 2 T(2)3 T(n) = T(n-1 ) + T(n-2) Now, consider the set of strings whose characters are a, b, and c which never contain the sequences bb or bc. For example, aba and cab are in the set, but abb and cbc are not. If S(n) is the number of strings of this type with length n, then S(1) 3 and S(2)7. How should we write the recursive part of the definition for S(n)?
a. S(n) 3S(n-1)+ 7S(n-2)
b. S(n) as(n-1)+ bs(n-2) °
C. S(n) = S(n-1 ) + 2S(n-2)
d. S(n) acS(n-1) +bbS(n-2)
e. S(n) S(n-1) S(n-2) S(n-3)
f. S(n) 2S(n-1) + S(n-2)
Mathematics
1 answer:
serg [7]3 years ago
6 0

Answer:

Step-by-step explanation:

You might be interested in
Convert 315 degrees to radian
inna [77]

Answer:

5.49779

Step-by-step explanation:

3 0
3 years ago
Read 2 more answers
What is the value of the expression i 0 × i 1 × i 2 × i 3 × i 4?
lord [1]

the answer would be B :) hope this helps

5 0
4 years ago
How does comparing number help to order them
lapo4ka [179]
For ordering greatest to least, you'll need to put the least amounted number, let's say 1 for example, you'll need to put it at the end of the line.
comparing the two, 10 and 1, which one has a higher power than the other?
8 0
4 years ago
Juan purchased 16 lemons and used 5 on the first day of making lemonade. On the second day, he purchased 12 lemons and used 11.
skad [1K]
You do what is in the parentheses first and then add them together.
So:
11+1=12
8 0
4 years ago
Read 2 more answers
Find the quotient.<br><br> <img src="https://tex.z-dn.net/?f=%20%5Cfrac%7B5%5E6%7D%7B5%5E5%7D%20%20" id="TexFormula1" title=" \f
ANTONII [103]
We can solve this problem by using the laws of exponents. The laws of exponents state:

\frac{x^{n} }{x^{y} } = x^{n-y}

We can use this law in our situation. The answer here, using the laws of exponents, is 5^{6-5} or 5.
5 0
3 years ago
Read 2 more answers
Other questions:
  • Zack orders a box of 80 sweaters manufactured from a factory. He needs to check the quality of 30% of the sweaters. Select all o
    15·1 answer
  • 1. Evaluate the expression when x=2, y = 3, and z= -9:
    7·1 answer
  • Special wallpaper that costs $2 per square foot. How much will the wallpaper cost in total?
    7·2 answers
  • Here are the ingredients for 1 carrot cake. How much mixed spice will she need for 6 cakes
    9·2 answers
  • Which of the following r one dimensional figures?
    13·1 answer
  • The perimeter of a rectangle is 26 inches. The length of the rectangle is 7 more than its width. What is the area of the rectang
    5·1 answer
  • 4(a − 2) + 6a ⋅2 +3(a +3)
    6·1 answer
  • Which of the following is a solution to the equation x^2 - 7x +5?
    10·1 answer
  • Write the domain and range of the given figure.
    11·1 answer
  • The students in Mr.​ Kim's class are discussing how to apply the properties of equality. Jared started with the equation 10 - 4=
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!