a How many sequences of length 5 can be made when each compo
(a) How many sequences of length 5 can be made when each component of the sequence can take 4 different values?
(b) How many sequences of length 5 can be made when there are 8 possible values each of which can only be used once?
Solution
A) IF WE HAVE TO MAKE SEQUENCE OF 5 AND EACH SEQUENCE CAN TAKE 4 VALUES
THEN THE NUMBER OF WAYS WILL BE 4!*4!*4!*4!*4! = 7962624 ( THIS WILL INCLUDE REPEATITION OF SAME NUMBER)
B) NOW IT CAN BE USED ONCE AND SEQUENCE HAS TO BE OF 5
SO THE WAYS WILL BE = 8*7*6*5*4 = 6720
