The letters $A, B$ and $C$ are used to form every possible three letter ``word.'' When these ``words'' are arranged in alphabetical order and numbered so that $AAA$ is Word $1$ and $CCC$ is Word $27$, what number will correspond to the position of word $BAB$ on the list?
IDK where to start and how to do. Pls help CPhill!!!
Just make a list...
It would look like this: AAA, AAB, AAC, ABA, ABB, ABC, ACA, ACB, ACC, ... , CCB, CCC.