Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

let wn be the number of strings of length n using................................ Let W be the number of strings of length 11 using A and B

let wn be the number of strings of length n using................................

image text in transcribed
Let W\" be the number of strings of length 11 using A and B which do not contain consecutive B's. (a) Explain why wn satises the recurrence relation wn = wn_1 +wn_2, with we = l,w1 = 2. (b) In what follows, we will obtain the generating function W[x] for WW in a afferent way than our textbook (i.e. rather than attacking the recurnmce relation directly.) Notice that a string of our type can be made by stringing together substrings of the form A and BA, followed by either a B or nothing at the end. 1 l[x+x2))'[1+x) Explain how this observation allows us to conclude that W(x) = ( (c) Noticing that [x + x2)\" can be rewritten using an application of the Binomial Theorem, rewrite the above representation of W(x} in a way that allows us to derive an explicit formula for w\" (i.e. a formula just in terms of n, and in particular, not involving wn_1,wn_2, etc). ((1) Relate our closed-form representation of W(x) in part (b) to relate W[x) to the generating function F[x] for the sequence tn of Fibonnaci numbers (i.e. the sequence of numbers satisfying f\" = fn_1 + fn_2, with to = 1 = . Use this (simple) relationship between W and F to write a closed-form for F[x}

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

Introduction to Real Analysis

Authors: Robert G. Bartle, Donald R. Sherbert

4th edition

471433314, 978-1118135853, 1118135857, 978-1118135860, 1118135865, 978-0471433316

More Books

Students also viewed these Mathematics questions