Tutorial 7,8,9
Tutorial 7,8,9
TUTORIAL PROBLEMS-CO-3
TUTORIAL-7
1. How many different license plates can be made if each plate contains a sequence of three
uppercase English letters followed by three digits (and no sequences of letters are
prohibited, even if they are obscene)?
2. A password of 6 digits is made of digits 9,2,6,0,0,2. How many possible passwords are
there? How long would it take to try all the possible passwords if trying one password
takes 5 seconds?
3. Find the number of arrangements of the letters of the word INDEPENDENCE. In how
many of these arrangements,
a. do the words start with P
b. do all the vowels always occur together
c. do the vowels never occur together
d. do the words begin with I and end in P?
TUTORIAL-8
1. Solve the recurrence relation a n=58−16 a n-2 for n ≥2, with a0 =16∧ a 1=80
2. Solve the recurrence relation a n=5 an−1 +6 a n-2 for n ≥ 2, with a 0=1∧ a 1=0
TUTORIAL-9
Solve the recurrence relations using generating functions.
1) Use generating functions to solve the recurrence relation
a n=3 an−1 +2 , with a0 =1 , for n=1, 2, 3----
2) Use generating functions to solve the recurrence relation
a n=3 an−1 +4 n−1 , with a 0 =1 , for n=1, 2, 3----
3) Use generating functions to solve the recurrence relation
a n=5 an−1 -6 a n-2 for n=2, 3, 4 ----with initial condition a 0=0∧ a 1=3