Suppose that each malefemale pair of rabbits in a farm produ
Solution
8 a) The relation is an=2an-1+2
b) at end of month n, no fo male/female rabbits=2+22+23+....+2n
c) The below is the progression of male/female rabbits
1 month - 2, 2 month - 4+2= 22+2, 3 months = 23+22+2, 4 months = 24+23+22+2
So in n months = 2+22+23+....+2n
9 a) The set of colorings - red, white and blue can be divided into two categories. Those that end in a blue or white square start with coloring of length n1. Those that end in a red square start with coloring of length n2. So it can be colored like this - a white or blue square, then the red square.
This gives the recurrence relation hn = 2hn-1+2hn-2.
b) so h0 = 1, h1 = 3, h2 = 8. The characteristic polynomial is r22r2, which has roots r1 = 1+ 3 and r2= 1 3; hence the general solution is hn = (r1)n + (r2)n.
c)Applying the initial conditions, 1 = h0 = + ,
3 = h1 = r + r2, which has solution = (3 + 2 3)/6, = (3 2 3)/6.
Hence the solution is hn = (3+2 3)/6 (1 + 3)n+ (32 3)/6 (1 3)n .
