Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Call a string of letters legal if it can be produced by concatenating ( running together ) copies of the following strings: ' v '

Call a string of letters "legal" if it can be produced by concatenating (running together) copies of the following strings:
' v ','ww',' xx ',' yy ' and ' zzz'.
For example, the string ' xxvvv' is legal because it can be produced by concatenating ' xx ', v ' and ' v ', but the string ' xxxv'is not legal.
For each integer n>=1, let t_(n) be the number of legal strings with n letters. For example, t_(1)=1(' v ' is the only the legal string).
t_(2)=
t_(3)=
t_(n)=at_(n-1)+bt_(n-2)+ct_(n-3) for each integer n>=4
where a=,b=, and c=
For each integer n>=1, let p_(n) be the number of legal strings with n letters that also read the same right to left as they do left to right (like ' xxvxx' for example).
Which of the following expressions is equal to p_(101)?
p_(50)+p_(49)
t_(50)+t_(48)
t_(50)+t_(49)
t_(50)+2t_(48)
p_(100)+p_(99)
t_(50)+2t_(49)
t_(100)+t_(99)
p_(50)+2p_(49)
Please answer all parts of the question.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Management Databases And Organizations

Authors: Richard T. Watson

6th Edition

1943153035, 978-1943153039

More Books

Students also viewed these Databases questions