Question #281725

How many different sequences, each of length r, can be formed using elements



from A if



(a) elements in the sequence may be repeated?



(b) all elements in the sequence must be distinct?

Expert's answer

Let the set AA consists from nn distinct elements, nr.n\geq r.

(a)

nrn^r sequences, each of length rr can be formed using elements from AA if elements in the sequence may be repeated.


(b)

P(n,r)=n!(nr)!P(n, r)=\dfrac{n!}{(n-r)!} different sequences, each of length rr can be formed using elements from AA if all elements in the sequence must be distinct.


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS