Unit - 3 DM & GT Material
Unit - 3 DM & GT Material
Unit - 3 DM & GT Material
PART – 1 :: COMBINATORICS
Basic Counting Principles :- In order to solve a counting problems, We use the following
two basic counting principles. (i) Product rule (ii) Sum rule
Product Rule :- The product rule states that if a procedure can be broken down into a
sequence of two tasks such that the first task can be done in ‘n’ ways and the second task
can be done in ‘m’ ways after the first task has been done, then there are ‘n.m’ ways of
carrying out the procedure.
Sum Rule :- According to the sum rule, if a procedure can be broken down into a sequence
of two tasks such that the first task can be done in ‘n’ ways and the second task can be done
in ‘m’ ways and if these tasks cannot be done at the same time, then there are ‘n+m’ ways
of doing one of these tasks.
Q1] There are 150 Mathematics major students and 200 Computer Science major students
at a college.
(i) How many ways are there to select two representatives so that one is a
Mathematics major and the other is a computer science major?
(ii) How many ways are there to pick one representative who is either a
Mathematics major or a Computer Science major?
Solution: Number of Mathematics Major students = 150. => n(M) = 150
Number of Computer Science major students = 200. => n(C) = 200
(i) The number of ways of selecting one representative who is a Mathematics major =
150.
By the product rule, the number of ways of selecting one representative who is a
computer science major after selecting a student who is a mathematics major is
150X200 = 30,000.
(ii) The number of ways of selecting one representative who is a mathematics major =
150.
The number of ways of selecting one representative who is a computer science
major = 200.
Hence, by the sum rule, the number of ways of selecting one representative who is
either a mathematics major or a computer science major = 150 + 200 = 350.
Q2] Find (i) P(n, 0) (ii) P(n, 1) (iii) P(n, n) (iv) P(n, n-1).
n! n!
P(n, 0) or n P 0= .= =1
Solution: (i) (n−0)! n !
n! n. (n−1) !
P(n, 1) or n P1 = .= =n.
ii) (n−1)! (n−1) !
n! n. ! n !
P(n, n) or n P n= .= = =n !.
iii) (n−n)! 0 ! 1
n! n! n! n!
P(n, n−1) or n Pn−1 = .= = = =n !.
iv) (n−(n−1))! (n−n+1) ! 1 ! 1
Q5] How many possibilities are there to select a first-prize winner, a second prize winner
and a third prize winner from 50 different people who have entered a contest?
Answer: Since it is a matter of which person wins which prize, the number of ways to select
the three prize winners is the number of 3 – permutations of a set of 50 elements.
Therefore, the required possibilities may be represented as
50 50 ! 50 ! 50 . 49 . 48 . 47 !
P3 = = = =50 . 49 . 48=1 , 17 , 600
(50−3 )! 47 ! 47 ! .
n n n n 2n
Q6] Find ‘n’ if (i) P2 =72. (ii) P4 =42. P2 . (iii) 2 . P2 + 50 = P2 .
Answer:
Q7] Consider the six digits 1, 2, 3, 5, 6 and 7. Assuming that repetitions are not permitted.
Answer the following:
i) How many four digit numbers can be formed from the six digits 1, 2, 3, 5, 6 and 7?
ii) How many of these numbers are less than 4000?
iii) How many of the numbers in (i) are even?
iv) How many of the numbers in (i) are odd?
v) How many of the numbers in (i) are a multiple of 5?
vi) How many of the numbers in (i) contain both the digits 5 and 7?
Answer:
(i) The four digit number can be formed by filling up 4
blank spaces with the available 6 digits. Therefore
Number of four digit numbers = P(6, 4) = 360
(vi) The digits 5 and 7 can occupy any two of the four
places in P(4, 2) = 12.
The remaining Two spaces can be filled up with the
remaining four digits in P(4, 2) = 12 ways
Hence, Required number of even numbers = 12 x 12
= 144 ways.
Answer:
(i) Considering CDE as one object, we have the following six objects: A, B, CDE, F, G,
H. These six objects can be permuted in P(6, 6) = 6 ! = 720 ways.
(ii) The objects AB, C, D, E, FG, H can be permuted in P(6, 6) = 720 ways.
(iii) The strings ABC and CDE contain the common letter C. If we include the strings
ABCDE in the permutations, it includes both the strings ABC and CDE. But, we
cannot use the letter C twice. Hence , we have the objects ABCDE, F, G and H.
These four objects can be permuted in 4 ! = 24 ways.
(iv) To include the two strings ABC and BED in the permutations, we require the letter
B twice, which is not allowed. Hence, the required number of permutations = 0.
Q9] (i)In how many ways can six men and four women sit in a row?
ii) In how many ways can they sit in a row if all the men sit together and all the women
sit together?
iii) In how many ways can they sit in a row if just the women sit together?
Iv) In how many ways can they sit in a row if just the men sit together?
Answer:
(i) Total number of persons = 6 + 4 = 10. Number of ways of arranging six men and
four women in a row = 10 ! = 36,28,800.
(ii) Let us assume that all the men together can be considered as one unit and all the
women together can be considered as the second unit. These two units can be
arranged in 2 ! = 2 ways.
Corresponding to any one of these two ways, the men can be arranged among
themselves in 6 ! ways and the women can be arranged among themselves in 4 !
ways. Hence, the required number of ways = 2 ! x 6 ! x 4 ! = 34,560.
(iii) By considering all the women together as a single unit, we have seven objects.
These seven objects can be arranged in a row in 7 ! ways.
Corresponding to any one of these ways, the four women can be arranged among
themselves in 4 ! ways.
Hence, the required number of ways = 7 ! x 4 ! = 1,20,960.
iv) Number of ways in which women alone sit together
=(number of ways in which women sit together) – (number of ways in which
women sit
together and men sit together)
=1,20960 – 34,560
=86,400.
Q10] In how many ways can the digits 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9 be arranged so that
(i) 0 and 1 adjacent and in the order of 01.
(ii) 0 and 1 adjacent.
(iii) 0 and 1 are never adjacent.
Answer:
(i) Let us keep 0 and 1 together and consider as one unit in the order of 01.
Now, we have 9 digits which can be arranged in P(9, 9) = 9 ! = 3,62,880 ways.
Hence, the total number of ways in which 0 and 1 are in the order of 01 is 9! =
3,62,880.
(ii) Keeping 0 and 1 together and considering as one unit, we have 9 digits which can
be arranged in P(9, 9) = 9! = 3,62,880 ways.
But 0 and 1 can be arranged among themselves (i.e., 01, 10) in 2!=2 ways.
Hence, the total number of ways = 3,62,880 x 2 = 7,25,760.
(iii) The total number of ways the given ten digits can be arranged without any
restriction is P(10, 10) = 10!=36,28,800.
So, the total number of ways of arrangements in which 0 and 1 are never adjacent
=(Total number of ways without any restriction) – (Number of ways in which 0
and 1 are always adjacent)
= 36,28,800 – 7,25,760 = 29,03,040.
Q11] Suppose repetitions are not permitted, answer the following questions:
(i) How many three digit numbers can be formed from the six digits 2, 3, 5, 6, 7 and
9?
(ii) How many of these numbers are less than 400?
(iii) How many of these are even?
Answer:
(i) The three digit number can be formed by filling up 3
blank spaces with the available 6 digits.
Therefore, Number of four digit numbers = P(6, 3) = 6 6 5 4
x 5 x 4 = 120
Q12] In how many ways can four mathematics books, three history books, three chemistry
books and two sociology books be arranged on a shelf so that all books of the same subject
are together?
Answer:
(i) First, the books must be arranged on the shelf in four
units according to subject matter.
C(n, r) or n C r or ¿ ( n¿ ) ¿ ¿ n
Cr =
n!
0 ≤ r ≤n
¿ and defined as ( n−r )!.r ! , where and n is a non-negative
integer.
Q13] Find C ( n , 0 ) , C ( n , 1 ) ,C ( n , n ) ,C (n , n−1) .
Answer:
n n! n! n!
C 0= = = =1 .
(i) ( n−0 )!. 0 ! n !. 1 n !
n n! n .(n−1) ! n
C1 = = = =n .
(ii) (n−1)!.1 ! (n−1 ) !. 1 1
n n! n! n! n!
C n= = = = =1.
(iii) ( n−n)!.n! 0 !.n ! 1.n ! n !
n n! n .(n−1 ) ! n n
C n−1 = = = = =n .
(iv) (n−(n−1 ))!.(n−1 )! (n−n+1) !.(n−1) ! 1 ! 1
Q14] Let ‘n’ and ‘r’ be non-negative integers with r≤n. Then show that C(n, r) = C(n, n-r).
Answer:
n!n
C r=
We know that, (n−r ) ! . r !
n n! n! n!
C n−r = = = =n C r .
RHS = (n−(n−r )) ! . (n−r) ! (n−n+r) !.(n−r) ! r ! . (n−r ) !
10
Ex. C 3= 10 C10−3 =10 C7 =120
Q15] A club has 25 members. How many ways are there to choose 4 members of the club
to serve on an executive committee?
Q17] Suppose a department consists of 10 men and 15 women. How many ways are there
to form a committee with six members if it must have three men and three women?
Answer:
(i) The committee of three men and four women can be selected in
= 8 C 3 ⋅ 9 C 4 ways
8! 9!
¿ ⋅
5 !.3 ! 5 !.4 !
8.7.6.5! 9.8.7.6.5 ! 8.7.6 9.8.7.6
¿ ⋅ = ⋅
5 !.3.2.1 5 !.4.3.2.1 3.2.1 4.3.2.1
¿56⋅126
¿7,056
(ii) The committee must have at least one woman. Therefore, we have the following
possibilities:
Three men and one woman; two men and two women; one man and three
women or four women. Hence, the required number of possibilities are
= 8 C 3 ⋅ 9 C 1 + 8 C 2 ⋅ 9 C 2 + 8 C 1 ⋅ 9 C3 + 8 C0 ⋅ 9 C 4
¿56⋅9+28⋅36+8⋅84+1⋅126
¿504+1008+672+126
¿2,310
(iii) The committee must have at most one man. Therefore, the possibilities are four
women and no men or three women and one man. Hence, the required number
of possibilities are
= 8 C 0 ⋅ 9 C 4 + 8 C1 ⋅ 9 C 3
¿1⋅126+8⋅84
¿126+672
¿798
(iv) The required committee must have persons of both men and women. The
possibilities are three men and one woman; two men and two women or one
man and three women. Therefore, the required number of possibilities is
= 8 C 3 ⋅ 9 C 1 + 8 C 2 ⋅ 9 C 2 + 8 C 1 ⋅ 9 C3
¿56⋅9+28⋅36+8⋅84
¿504+1008+672
¿2,184
(v) First, let us find the number of selections that contain the two specific members.
After removing the two specific members, the number of members remaining in
the department is 15 i.e., (9+8-2=15).
Thus, the remaining two members can be selected in C(15, 2) ways.
In each of these selections, if we include those two specific members removed, we
get C(15, 2) selections consisting of the two members.
Therefore, number of selections not including these two members
=C(17, 4) – C(15, 2)
=2,380 – 105
=2,275.
Def. 1 :- The number of r – permutations of a set of ‘n’ objects with repetition allowed is nr .
Q20] How many ways are there to assign three jobs to five employees if each employee can
be given more than one job?
Answer: Since there are 26 letters and each letter can be used repeatedly, by the product
rule, the number of strings of six letters = 266 .
Q22] How many different strings can be made from the letters of the word “SUCCESS” using
all the letters?
Answer: The Word “SUCCESS” has totally 7 letters.
In this word “SUCCESS”, some of the letters are repeated.
The word “SUCCESS” contains three S’s, two C’s, one U and one E.
Using all the letters of the word “SUCCESS” the number of different strings
7! 7.6.5.4 .3.2.1
= = =420.
3 ! . 2 ! . 1 ! . 1 ! 3.2.1.2.1.1.1
Q23] How many different strings can be made from the letters of the word “ABRACADABRA”
using all the letters?
Q25] How many different strings can be made from the letters of the word “EVERGREEN”
using all the letters?
Q26] How many different strings can be made from the letters of the word “ENGINEERING”
using all the letters?
Q27] How many ways are there to select three unordered elements from a set of five
elements when repetitions are allowed?
Answer: We have to select three unordered elements from a set of five elements.
When repetitions are allowed, the number of ways of selecting three unordered
n+r−1
elements from a set with five elements = C r =5+3−1 C 3 =7 C3 = 35.
Q28] How many ways are there to place 6 different balls into 9 different bins ?
Answer: The number of ways in which 6 different balls can be placed into 9 different bins
= (The number of 6 – combinations from a set of 9 elements when repetitions
are allowed
9+6−1 14
= C 6 = C 6 = 3003.
Q29] There are three boxes of identical red, blue and white balls, where each box contains
at least 10 balls. How many ways are there to select 10 balls if
(i) there is no restriction?
(ii) at least one white ball must be selected?
(iii) at least one red ball, at least two blue balls and at least three white balls must be
selected?
(iv) Exactly one red ball must be selected?
(v) At most one white ball is selected?
(vi) Twice as many red balls as white balls must be selected?
Answer:
There are three kinds of balls and we have to select 10 balls.
(i) Since there is no restriction, repetitions are allowed.
n+r−1
C r =3+10−1 C 10 = 12 C 10=66.
Hence, the number of ways of selecting 10 balls =
(ii) We select one white ball and keep it separately. Then, we have to select nine balls
from the three kinds of balls and then include the first white ball in the selections.
3+9−1
C 9 = 11 C 9 =55
Hence, the required number of ways of selecting 10 balls =
(iii) We select one red ball, two blue balls and three white balls and keep them
separately. Then, we select four balls from three kinds of balls and include the first
six chosen balls in each selection.
3+4−1 6
Thus, the required number of ways of selecting 10 balls = C 4 = C 4 =15 .
(iv) We select one red ball and keep it separately. Then, we select nine balls from the
boxes containing blue and white balls and then include one red ball in each
selection.
2+9−1 10
Hence, the required number of ways of selecting 10 balls = C 9= C9 =10
(v) We select one red ball and one blue ball and keep them separately. Then, we
select eight balls from the two kinds of balls, namely blue and white, and include
the already chosen red and blue balls in each selection.
2+8−1 9
Thus, the required number of ways of selection = C 8= C 8 =9
(vi) We need at most one white ball. Hence, the selection must not contain a white ball
or contain one white ball.
Thus, the required number of ways of selection =
2+10−1
C 10+ 2+9−1 C 9 =11 C 10 + 10 C 9=11+10=21
(vii) The selection must contain 0 red and 0 white balls, 2 red and 1 white balls, 4 red
and 2 white balls or 6 red and 3 white balls.
Thus, the required number of ways of selection
=1+10−1 C 10 +1+7−1 C 7+ 1+ 4−1 C 4+ 1+1−1 C 1
¿ 10 C 10+7 C 7+ 4 C 4+1 C 1
¿1+1+1+1
¿4
Circular Permutations :- If objects of a given set are arranged in a line, we obtain a linear
permutation. On the other hand, if objects are arranged in a circle or any closed curve, we
get a circular permutation. Also, the number of circular permutations will be different from
the number of linear permutations.
Q30] Find the number of different circular arrangements of the five elements a , e ,i , o , u .
Answer: The number of different circular arrangements of the five elements = (5 – 1) !=4 !
=24.
Note:- If the number of clockwise circular permutations is equal to the number of anti-
clockwise circular permutations, then the number of different circular arrangements =
1
( n−1 ) ! .
2
Binomial Theorem
Note:
( x −y)n=n C0⋅xn⋅y0−n C1⋅xn−1⋅y1+n C2⋅xn−2⋅y2−n C3⋅xn−3⋅y3+¿⋅¿⋅¿⋅¿¿ +(−1)rn Cr⋅xn−r⋅yr+¿⋅¿⋅¿⋅+(−1)nn Cn⋅xn−n⋅yn.
n
i. e . , ( x − y )n =∑ (−1 )r n Cr⋅x n−r⋅y r .
r=0
Answer:
( x − y )5=5 C 0⋅x 5⋅y 0 −5 C1⋅x 5−1⋅y 1 + 5 C 2⋅x5−2⋅y 2−5 C 3⋅x 5−3⋅y 3 + 5 C 4⋅x 5−4⋅y 4 −5 C 5⋅x 5−5⋅y 5 .
( x − y )5=1⋅x5⋅1−5⋅x 4⋅y 1 +10⋅x 3⋅y 2 −10⋅x 2⋅y 3 +5⋅x 1⋅y 4 −1⋅1⋅y 5 .
( x − y )5=x 5 −5⋅x 4⋅y+10⋅x 3⋅y 2 −10⋅x 2⋅y 3 +5⋅x⋅y 4 − y 5 .
Answer: Let
T
r+1th term be the independent of x in the expansion of
( 3 x+
1 8
2x )
.
Therefore,
1 r 8
( ) ( )( ) () ()
r
8 8−r 8−r 8−r 1 1 r 8 8−r 1
r
8−r−r 8 8−r 1
r
T r+1=. C r⋅(3 x ) ⋅ = C r⋅3 ⋅x ⋅ ⋅ = C r⋅3 ⋅ ⋅x = C r⋅3 ⋅ ⋅x 8−2 r
2x 2 x 2 2
(3 x + 21x )
8
( )
8
1
3 x+
Therefore, the term independent of ‘x’ in the expansion of 2x is
Therefore,
MULTINOMIAL COEFFICIENTS
( n
)
k 1 , k 2 , k 3 , .., k m
=
n!
k 1 ! k 2 ! , … ….. , k m !
. In fact, binomial coefficients are special instances of
∑
k1 k k
¿
0≤k1 , k 2 , .. . . .. , k m≤n a1 ¿¿ a . aa22 . . .. . aamm .¿
k +k +. ... ..,+k =n ¿
1 2 m
both the exponents on x, y, and z and the bottom row of the multinomial coefficient. For example, the triple (3, 0,
∑
k k k
¿ 0≤k1 , k2 , k 3≤4 ¿¿ x 1 y 2 z 3 ¿
k +k +k =4 ¿
1 2 3
2
Q48. Use the Multinomial theorem to expand ( w +2 x +3 y 4 z ) .
Ans: Here the sum in our expansion is indexed over the ordered 4-tuples (k 1, k2, k3, k4) such
that 0 ≤ k1, k2, k3, k4 ≤ 2 and k1+k2 + k3 + k4 = 2. That is, the ordered 4-tuples.
(2, 0, 0, 0) (1, 1, 0, 0) (1, 0, 1, 0) (1, 0, 0, 1) (0, 2, 0, 0)
(0, 1, 1, 0) (0, 1, 0, 1) (0, 0, 2, 0) (0, 0, 1, 1) (0, 0, 0, 2)
Index our sum. Thus, we get
∑
k1 k2 k3 k4
¿ 0≤k1 , k 2 , k3 , k4 ≤2 ¿ ¿ w (2 x ) (3 y ) (4 z) ¿
k +k +k +k =2 ¿
1 2 3 4
=w +4wx+6wy+8wz+4x2+12xy+16xz+9y2+24yz+16z2 .
2
Q49. (Extracting a Coefficient). What is the coefficient of u2w3x4y2 in the expansion of (u+v+2w+x+3y+z)11 ?
Ans: The expansion includes the summand
( 11
2,0,3,4,2,0 )
⋅u 2 v 0 (2w )3 x 4 (3 y)2 z 0 =6930 u2 8w 3 x 4 9 y 2 =4989600 u 2 w3 x 4 y 2
Hence, the desired coefficient is 49,89,600.
** ** **
UNIT – III :: PART - 2 :: RECURRENCE RELATIONS
Recurrence Relation : An equation that expresses a n in terms of one or more of the
previous terms of the sequence, namely a 0 , a 1 , a2 , … … . , an−1 for all integers ‘n’ with
n ≥ n0 w h ere n 0 is a non-negative integer is called a recurrence relation for the sequence {an }
or a difference equation.
If the terms of a sequence satisfy the recurrence relation, then the sequence is called
a solution of the recurrence relation.
Q1] Let {an } be a sequence that satisfies the recurrence relation a n=a n−1 +3. a n−2 for n ≥2 and
a 0=1∧a1=2. Find the values of a 2∧a3 .
Q2] Find the first five terms of the sequence defined by the recurrence relation
a n=n . an−1 +n . an−2 for all n ≥2 a 0=1∧a1=1.
2
Q3] Determine whether the sequence {an } , where a n=−n+2 is a solution of the recurrence
relation a n=a n−1 +2. a n−2+2 n−9 for all n ≥ 2 .
Fibonacci Sequence :- The sequence {0, 1, 1, 2, 3, 5, 8, 13, …….} is called Fibonacci Sequence.
Its recurrence relation is F n=F n−1−Fn−2 , ∀ n≥ 2 , w h ere F 0=0∧F1=1. The conditions
F 0=0∧F1=1 are called initial conditions.
A Recurrence Relation of the form a n=c 1 an−1 +c 2 an−2+ … … … … ..+c k an−k where c 1 , c2 , … . c k are
real numbers and c k ≠ 0, is called Linear Homogeneous Recurrence Relation of degree ‘k’ with
constant coefficients.
Note:- Degree is the difference between the greatest and lowest subscripts of the members
of the sequence occurring in the Recurrence Relation.
Characteristic roots :- Consider the recurrence relation a n=c 1 an−1 +c 2 an−2+ … … … … ..+c k an−k
where c 1 , c2 , … . c k are real numbers and c k ≠ 0.
The solutions of the characteristic equation are called the characteristic roots.
Case (i) : If r 1 , r 2. are real and distinct, then the solution is a n=α 1 . r n1 +α 2 . r n2 , w h ere α 1∧α 2 are
arbitrary constants.
Case (ii) : If r 1 , r 2. are real and equal, then the solution is a n=(α ¿ ¿ 1+ α 2 .n) r n , w h ere α 1∧α 2 ¿ are
arbitrary constants.
θ=tan−1 ( ba ) .
Q5] Solve the Recurrence relation a n=5. an−1−6. a n−2 , for n ≥2 , w h ere a0=1 , a1=0.
Q6] Solve the Recurrence relation a n=2. an−1 +a n−2−2. an−3 , for n ≥ 3 ,
Q7] Solve the Recurrence relation a n=9. an −1−16.a n−2 , for n ≥2 , w h ere a0=16 , a1=80.
Q8] Solve the Recurrence relation a n=2. an−1−2. a n−2 , for n ≥2 , w h ere a0=1 , a1=2.
To solve the recurrence relation a n−c 1 an−1−c 2 an−2−… … … … ..−c k an−k =G ( n ) , we have to adopt
the following procedure.
(H )
Step – I : We obtain the homogeneous solution a n .
(H )
then, we find its general solution, which is called the homogeneous solution a n .
There is no general procedure for finding the particular solution of a recurrence relation.
However, if G(n) has any one of the following forms.
Then we may guess the forms of the particular solution and exactly find out by the method
of undermined coefficients.
An m t h degree polynomial
2 k
c 0 +c 1 .n+ c . n +… … ..+ cm . n 2
d 0 +d 1 . n+d 2 .n + … … ..+ d m .n
k
Step – 3 : We substitute the guess from Step – 2 into the recurrence relation. If the guess is
correct, then we can determine the unknown coefficient of the guess. If we are not able to
determine the coefficients, then our guess is wrong and hence we go to step – 2.
Step – 4 : The general solution of the recurrence relation is the sum of the homogeneous
and particular solutions i.e., a n=a(H ) (P)
n + an .
Step – 5 : If no initial conditions are given, then step – 4 will give the solution. If ‘n’ initial
conditions are given, then we get ‘n’ equations with ‘n’ unknowns. Solving the system, we
get a complete solution.
Q10] Solve the recurrence relation a n−a n−1 −6. an−2=−30 , ∀ n ≥2 , wit h a0=20 ,∧a 1=−5.
Q11] Solve the recurrence relation a n−2. an−1 +a n−2=2 , ∀ n ≥ 2 , wit h a 0=25 ,∧a1=16.
Q12] Solve the recurrence relation a n−7. an−1 +10. an−2=6+ 8 n , ∀ n ≥ 2 , wit h a 0=1 ,∧a1=2.
Q13] Solve the recurrence relation a n−4. a n−1+ 4. an−2=n 2 , ∀ n ≥2 , wit h a0=2,∧a1=10.
Q14] Solve the recurrence relation a n−2. an−1−3. a n−2=5n , ∀ n ≥ 2 , wit h a 0=−2 ,∧a1=1.
Q17] Solve the recurrence relation a n−4. a n−1+ 4. an−2=3 n+2 n , ∀ n ≥2 , wit h a0=1 ,∧a1=1.
Q19] Solve the R.R. a n+ 2n . a n−1−3 n(n−1). an−2=0 , ∀ n ≥ 2 , wit h a 0=1 ,∧a 1=2.
n=0
Q29] Find the generating function for the sequence < 5, 3, -4, -2, 0, 1 > .
Q30] Find the closed form expression of the generating function for the sequence
2 3
1 , a , a , a , …. . .
Q31] Use generating functions to solve the RR a n=3. an−1 +2 , ∀ n ≥ 1 , wit h a 0=1
Q32] Use generating functions to solve the RR a n−2. an−1−3. a n−2=0 , ∀ n≥ 2 , wit h a0=3 , a1 =1.
Q33] Use generating functions to solve the RR a n−8 . an−1 +2. an−2−18 an−3=0 , ∀ n ≥3.
Q34] Use generating functions to solve the RR a n=4 . an−1−4.a n−2+ 4 n , ∀ n ≥ 2, wit h a0 =2 ,a 1=8.
Q35] Use generating functions to solve the RR a n=a n−1 +2. ( n−1 ) , ∀ n ≥ 1, wit h a0 =3.
Q36] Use generating functions, solve the RR a n+2−5 . a n+1 +6. an=2 , ∀ n ≥0 , wit h a0 =1 , a1=−1.
Q37] Use generating functions, solve the RR a n+2−2 . an +1+ an=2n , ∀ n ≥ 0 , wit h a 0=2 , a1=1.
** ** **