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
Maria has planted tulips and roses in her garden. The ratio of tulips to total flowers in her garden is 3:8.
erma4kov [3.2K]

Answer:

Step-by-step explanation:

Faxt

3 0
3 years ago
I need help on this
velikii [3]

Answer:

the table is 3/8

12/32

21/56

24/64

33/88

8 0
3 years ago
Read 2 more answers
Please answer!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
mezya [45]

Answer:

D

Step-by-step explanation:

You have 2 5 12 13 right triangles.

x = 2 * 5

x = 10

4 0
3 years ago
Read 2 more answers
What is the y-intercept of the function f(x)=4 - 5x?<br> -5<br> -4<br> 4<br> 5
pantera1 [17]

Answer:

b = 4

Step-by-step explanation:

Use the slope-intercept form  y = m x + b  to find the y-intercept  b .

8 0
3 years ago
Read 2 more answers
It rained on exactly 7 of the days during Jane's trip. On each day that it rained, it rained either in the morning or in the aft
Lerok [7]

Answer:

The trip lasted 9 days.

Step-by-step explanation:

8 0
3 years ago
Other questions:
  • The population of bees has been decreasing at a rate of 10% per year in 2012 there were 6000 bees in particular hive how many be
    9·1 answer
  • The weight of football players is normally distributed with a mean of 200 pounds and a standard deviation of 25 pounds. the prob
    8·1 answer
  • Distance between points (0,6) (2,3) <br><br> Square root 13<br><br> 5<br><br> Square root 73
    14·1 answer
  • Explain how you used the bar model in 14-7=7
    7·1 answer
  • Solve the compound inequality. -2x&lt;2x-4&lt;4
    13·2 answers
  • The ratio of white chocolate to dark chocolate sold at a candy shop was 4 : 3. If there were 20 bars of white chocolate sold, ho
    5·1 answer
  • I need help with this please
    9·1 answer
  • Find the geometric mean for the pair of numbers,<br> 5 and 9.8
    6·1 answer
  • 14. What is the value of 4+3/4?
    9·2 answers
  • How do I solve for x? (the picture has the problem)
    8·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!