
MAT 5932, MAT 4930, INTRODUCTION TO COMBINATORICS AND
GRAPH THEORY
HOMEWORK# 6, DUE DECEMBER 2ND, 2004
The homework assignment is graded out of 20 points (5 each). There are 5 extra credit
points. Explain your answers.
1. A fruit fly is classified as either dominant, hybrid, or recessive for eye color. Ten fruit flies
are to be chosen for an experiment. In how many ways can the genotypes (classifications)
dominant, hybrid, and recessive be chosen if you are interested only in the number of
dominants, number of hybrids and number of recessives?
2. A code word from the alphabet {0,1,2}is considered legitimate if and only if no two 0’s
appear consecutively. Find a recurrence for the number bnof legitimate codewords of length
n. Can you use a similar argument to determine a recurrence relation for a legitimate DNA
code over alphabet A,G,C,T such that no two G’s are together?
3. Consider the recurence an= 6an−1−12an−2+ 8an−3. Finda a general solution of this
relation for a0= 3, a1= 6 and a2= 4.
4. A machine that inserts letters into envelopes goes haywire and inserts randomly into
envelopes. Out of 100 letters, in how many ways the machine can:
(a) insert none of the letters into its correct envelope?
(b) insert exactly one letter into the correct envelope?
(c) insert 99 letters into the correct envelopes?
5. Use a combinatorial argument to show that the sequence {Dn}of numbers representing
derangements of nobjects for n≥2 satisfies the recurrence relation
Dn= (n−1)(Dn−1+Dn−2)
Use this fact to show that Dn=nDn−1+ (−1)nfor n≥1.
1