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 solutionChapter 8 Solutions
Discrete Mathematics and Its Applications ( 8th International Edition ) ISBN:9781260091991
- Suppose that the check digit is computed as described in Example . Prove that transposition errors of adjacent digits will not be detected unless one of the digits is the check digit. Example Using Check Digits Many companies use check digits for security purposes or for error detection. For example, an the digit may be appended to a -bit identification number to obtain the -digit invoice number of the form where the th bit, , is the check digit, computed as . If congruence modulo is used, then the check digit for an identification number . Thus the complete correct invoice number would appear as . If the invoice number were used instead and checked, an error would be detected, since .arrow_forwardDetermine whether the set S={2x+x2,8+x3,x2+x3,4+x2} spans P3.arrow_forwardThe set, S consists of 900,000000 whole numbers, each being the same number of digits long. How many digits long is a number from S? (Hint: use the fact that a whole number cannot start with the digit 0.)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 Littell
- Algebra & Trigonometry with Analytic GeometryAlgebraISBN:9781133382119Author:SwokowskiPublisher:CengageElementary Linear Algebra (MindTap Course List)AlgebraISBN:9781305658004Author:Ron LarsonPublisher:Cengage Learning