Paragraph

How many ternary digit strings contain exactly \(n\) digits?

in-context