MA-351 Homework 1

Due at 4:59pm in my mailbox in SAS 3151, Thursday, September 8, 2011



All solutions must be submitted in hardcopy either to me in class or placed in my mailbox. Note my office hours on my schedule.

  1. Consider the sequence g0 = 1, g1 = 2, g2 = -1, g3 = -2, g4 = 1, g5 = 2, g6 = -1, g7 = -2,... that is periodic with period length 4.
    1. Please give a quadratic homogeneous linear recurrence with constant coefficients for the element gn.
    2. Like we did for the Fibonacci numbers, please derive a closed form expression for the element gn.

  2. Consider the r-dimensional de Bruijn digraph with 2r vertices and 2r+1 arcs. Like in the hypercube, the vertices are r bit numbers. There is an arc from each vertex i1,i2,...,ir, where ij is either 0 or 1, to the vertex i2,i3,...,ir,0 and an arc to the vertex i2,i3,...,ir,1.
    1. Please draw a nice picture of the digraph for r = 3.
    2. Please prove that for r = 4 the digraph has the same diameter as the 4 dimensional hypercube, that is, the maximum distance between two vertices is 4. Your argument must both show that between any two vertices there is a path of length no more than 4, and that there exist two vertices whose distance is at least 4.

  3. Consider the 5-dimensional hypercube as presented in class. In class the vertices were the integers from 1 to 32. The task is to relabel the vertices in the drawing as strings of 5 bits (5-bit binary numbers) in such a way that the Hamming distance between adjacent vertices is exactly one.

    5-D Hypercube