Question

6. (10 points) Let Sn be the number of n-bit strings of Os and 1s that avoid the pattern 11. Find the recurrence relation

0 0
Add a comment Improve this question Transcribed image text
Answer #1

The least value of n for the series to be recursive is 3. Because to predict a series, we need atleast three elements.

Now, we will approximate the Series based on the Values of n i.e.

For n =1 :

Strings can be : (0,1)

So, Total Number of Strings : 2

For n =2 :

Strings can be : (00, 01, 10)

So, Total Number of Strings : 3

For n =3 :

Strings can be : (000, 001, 010, 100, 101)

So, Total Number of Strings : 5

For n =4 :

Strings can be : (0000, 0001, 0010, 0100, 1000, 0101, 1010, 1001)

So, Total Number of Strings : 8

and so on...

Now, take into Consideration, all the Total Number of Strings i.e. 2,3,5,8

If we look at this Series, it make a Normal Fibonacci Series.

So, the general Formula of a Fibonacci Series is our Required Ans i.e.

\bold{S_n=S_{n-1}+S_{n-2}}

Please UpVote. It Helps. Thank You.

Add a comment
Know the answer?
Add Answer to:
6. (10 points) Let Sn be the number of n-bit strings of O's and 1's that...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT