Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 3. (8 marks) Let A be the set of binary strings containing exactly two 1s. Let B be the set of binary strings

image

Question 3. (8 marks) Let A be the set of binary strings containing exactly two 1s. Let B be the set of binary strings containing exactly three 1s. Let w be the weight function that returns the length of a binary string. (a) (2 marks) Write down the generating series (x) and (x) for A and B respectively with respect to weight w, in closed form (i.e. without using or + ... +). (b) (2 marks) Let $(x) = (x)B(x). Express [x] (x) as a function of n, for every nonnegative integer n. (c) (3 marks) Using a bijective proof to prove that |S| is equal to the expression you had in part (b), where S = {(a, b) a A, B, |a| + || = n}, where a denotes the length of a. : (note. It is not a coincidence that what you get in part (b) gives you the same answer for the question in part (c) which you solved using elementary counting. In week 3, you will learn how to approach such counting problems, and more complicated counting problems, with the machinery of generating series.)

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

Intermediate Microeconomics

Authors: Hal R. Varian

9th edition

978-0393123975, 393123979, 393123960, 978-0393919677, 393919676, 978-0393123968

More Books

Students also viewed these Mathematics questions