Paragraph
How many ternary digit strings contain exactly
\(n\)
digits and
\(n-k\)
2's.
in-context