In: Advanced Math
Recall that hexadecimal numbers are constructed using the 16 digits 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F.
(a)
How many strings of hexadecimal digits consist of from one through four digits?
(b)
How many strings of hexadecimal digits consist of from two through five digits?
Multiplication rule: if an operation consists of k steps. where
the first step can be performed in n1 ways, second step in n2 ways
and the kth step in nk ways ,
then the operation can be performed in n1*n2*...*nk ways
Addition rule : If a finite set A is the union of k distinct
mutually disjoint subset A1, A2, ... ,Ak, then :
N(A)=N(A1)+N(A2)+N(A3)+...+N(Ak)
If you need any further clarification regarding this problem feel
free to comment below