
A coding system encodes messages using strings of base 4 digits (that is, digits from the set {0,1,2,3}). A codeword is valid if and only if it contains an even number of 0s and an even number of 1s. Let anequal the number of valid codewords of length n. Furthermore, let bn. cn, and dnequal the number of strings of base 4 digits of length n with an even number of 0s and an odd number of 1s, with an odd number of 0s and an even number of 1s, and with an odd number of 0s and an odd number of 1s, respectively.
a) Show that
b) What area
c) Use parts (a) and (b) to find
d) Use the recurrence relations in part (a), together with the initial conditions in part (b), to set up three equations relating the generating functions A(x), B(x), and C(x) for the sequences
e) Solve the system of equations from part (d) to get explicit formulae for A(x), 8(x), and C(x) and use these to get explicit formulae for

Want to see the full answer?
Check out a sample textbook solution
Chapter 8 Solutions
DISCRETE MATHEMATICS+ITS APPL. (LL)-W/A
- Find all solutions of the polynomial congruence x²+4x+1 = 0 (mod 143). (The solutions of the congruence x² + 4x+1=0 (mod 11) are x = 3,4 (mod 11) and the solutions of the congruence x² +4x+1 = 0 (mod 13) are x = 2,7 (mod 13).)arrow_forwardhttps://www.hawkeslearning.com/Statistics/dbs2/datasets.htmlarrow_forwardDetermine whether each function is an injection and determine whether each is a surjection.The notation Z_(n) refers to the set {0,1,2,...,n-1}. For example, Z_(4)={0,1,2,3}. f: Z_(6) -> Z_(6) defined by f(x)=x^(2)+4(mod6). g: Z_(5) -> Z_(5) defined by g(x)=x^(2)-11(mod5). h: Z*Z -> Z defined by h(x,y)=x+2y. j: R-{3} -> R defined by j(x)=(4x)/(x-3).arrow_forward
- Determine whether each function is an injection and determine whether each is a surjection.arrow_forwardLet A = {a, b, c, d}, B = {a,b,c}, and C = {s, t, u,v}. Draw an arrow diagram of a function for each of the following descriptions. If no such function exists, briefly explain why. (a) A function f : AC whose range is the set C. (b) A function g: BC whose range is the set C. (c) A function g: BC that is injective. (d) A function j : A → C that is not bijective.arrow_forwardLet f:R->R be defined by f(x)=x^(3)+5.(a) Determine if f is injective. why?(b) Determine if f is surjective. why?(c) Based upon (a) and (b), is f bijective? why?arrow_forward
- Elements Of Modern AlgebraAlgebraISBN:9781285463230Author:Gilbert, Linda, JimmiePublisher:Cengage Learning,Algebra: Structure And Method, Book 1AlgebraISBN:9780395977224Author:Richard G. Brown, Mary P. Dolciani, Robert H. Sorgenfrey, William L. ColePublisher:McDougal LittellAlgebra & Trigonometry with Analytic GeometryAlgebraISBN:9781133382119Author:SwokowskiPublisher:Cengage
- Elementary Linear Algebra (MindTap Course List)AlgebraISBN:9781305658004Author:Ron LarsonPublisher:Cengage Learning



