Item 1.4.11.b.

How many ternary digit strings contain exactly \(n\) digits and \(n\) 2's.

in-context