632 views
0 votes
0 votes
The name of a file in a computer directory consists of three uppercase letters followed by a digit, where each letter is either $A, B,\:\text{ or}\: C,$ and each digit is either $1\: \text{or}\: 2.$ List the name of these files in lexicographic order, where we order letters using the usual alphabetic order of letters.

1 Answer

0 votes
0 votes

LETTER={A,B,C} DIGIT={1,2}

 lexicographic order where  three uppercase letters followed by a digit

ABC12

ABC21

ACB12

ACB21

BAC12

BAC21

BCA12

BCA21

CAB12

CAB21

CBA12

CBA21

TOTAL=12

Related questions

0 votes
0 votes
0 answers
1
0 votes
0 votes
0 answers
2
admin asked May 1, 2020
243 views
Show that the correspondence described in the preamble is a bijection between the set of permutations of $\{1, 2, 3,\dots,n\}$ and the nonnegative integers less than $n!....
0 votes
0 votes
1 answer
4