Consider the following linear recurrence over Z2 of degree four:
Zi+4 = (Zi + Zi+3) mod 2,
i ≥ 0. For each of the 16 possible initialization vectors (Z0, Z1, Z2, Z3) Ԑ (Z2)4, determine the period of the resulting keystream.
ANS : All combinations of 0,1 of length 4. Interpret (0,1,0,1)(0,1,0,1) (as an example) as z0=0,z1=1,z2=0,z3=1z0=0,z1=1,z2=0,z3=1.
Then z4z4 is given by the sum of these 4, so z4=0z4=0 (as we work mod 2), so the sequence becomes (0,1,0,1,0)(0,1,0,1,0). Then z5=z4+z3+z2+z1=0z5=z4+z3+z2+z1=0 mod 2, again, so we have (0,1,0,1,0,0)(0,1,0,1,0,0), etc. You go on till you find that the last 4 sequence elements are (0,1,0,1)(0,1,0,1) again, and then you know the period (you're back where you started): the number of steps (i.e. new sequence elements computed) taken to get there.
Consider the following linear recurrence over Z2 of degree four: Zi+4 = (Zi + Zi+3) mod...
Consider the following recurrences over the bits 0, 1: zi+4 = zi+1 + zi+2 zi+4 = zi + zi+1 zi+4 = zi + zi+1 + zi+2 And the initialization vector for each is (z0, z1, z2, z3) = (0, 0, 0, 1). Determine the period of the resulting bit stream for each recurrence, and sketch the configuration of the 4bit LFSR using the recurrence with largest period.
Consider the following initial value problem, (1 - z2)y"+zy' - 12y-0, (0)3, y' (0)-0. Note: For each part below you must give your answers in terms of fractions (as appropriate), not decimals (a) This differential equation has singular points at Note: You must use a semicolon here to separate your answers. (b) Since there is no singular point at z 0, you can find a normal power series solution for y(x about z0,i.e. m-0 As part of the solution process...
I need help with these linear algebra problems. 1. Consider the following subsets of R3. Explain why each is is not a subspace. (a) The points in the xy-plane in the first quadrant. (b) All integer solutions to the equation x2 + y2 = z2 . (c) All points on the line x + z = 5. (d) All vectors where the three coordinates are the same in absolute value. 2. In each of the following, state whether it is...
20. (4 pts) Consider the following recurrence. an = 2an-1 + 2an-2 ao = 0 Q1 = 2V3 For what values of a and B is the following expression a solution of that recurrence? a;=a (1+ v3)*+B (1 - v3)' a = -1 and B 1 O a = = { and B :- O a = 2 and B = -2 the four other possible answers are incorrect O a = 1 and B = -1
(6) (Hand in!) Consider the linear function L : R3 → R3, given by the formula L(2)-Ax, where A is one of the following 3x 3 matrices: 0 -1 3 0 -21 0 1-2 3 1 -3 -1 2 0, 1 -1 1 21-3 Compute the determinant of each matrix. In each case what information does the determinant give you regarding: (i.) the invertibility of the function of L, (ii.) the volume of the parallelogram formed by passing the standard...
Let 'M' denote the hash table size. Consider the following four different hash table implementations: a. Implementation (I) uses chaining, and the hash function is hash(x)x mod M. Assume that this implementation maintains a sorted list of the elements (from biggest to smallest) for each chain. b. Implementation (II) uses open addressing by Linear probing, and the hash function is ht(x) - (hash(x) + f(i)) mod M, where hash(x)x mod M, and f(i)- c. Implementation (III) uses open addressing by...
What is the solution to the following recurrence? T(n) = 16T(3/4)+ n T(1) = 1 T(n) = 0n) T(n) = 0 (n1/2) T(n) = O(na) T(n) = O(n log(n)) the four other possible answers are incorrect
1. Consider the following Linear transformation L : R5 + R5 represented in the standard basis via the following matrix: 1 7 4 1 A= 2 4 6 9 -4 0 3 4 3 3 6 12 0 1 9 8 7 9 -2 0 2 (a) Find a basis for Null(A), Col(A), and Row(A). (b) For each v in your basis for Col(A) find a vector u ER5 do that Au = v. (c) Show that the vectors you...
3. Consider the following system of linear equations: 2.0 + 2y + 2kz = 2 kx + ky+z=1 2x + 3y + 72 = 4 (i) Turn the system into row echelon form. (ii) Determine which values of k give (i) a unique solution (ii) infinitely many solutions and (iii) no solutions. Show your working. 4. Solve the following system of linear equations using Gauss-Jordan elimination: x1 + x2 - 2.13 + 24 +3.25 = 1 2.x1 - x2 +...
Problem 3-18 (algorithmic) Consider the following sequence of deposits and withdrawals over a period of four years if you earn 15% interest on your deposits how much will you able to withdraw at the end of four years' 1.100 31 130 1 730