Textbook Explanation:
Strings are made up from a prescribed alphabet symbols. If the prescribed alphabet consists of the symbols 0, 1, and 2 ... In general, if n is any positive integer, then by the rule of product there are $3^n$ strings of length n for the alphabet 0, 1, and 2.
Logical Question:
Does 3 inside $3^n$ refer to the three alphabets 0, 1, 2 ?
If the answer to last question is yes, does it mean if there are alphabets of 0, 1, 2, and 3. Then there are $4^n$ strings of length n ?
- What would be the general formula ? Would it be $infinity^n$?