Item 1.4.11.f.

How many ternary digit strings contain exactly \(n\) digits and no 2's. (Hint: what kind of a string is this?)

in-context