2120

How many ternary strings of length 10 \(\textbf{DON'T} \) contain the pattern 2120?

\(\textbf{Details} \)

Ternary strings of length \( n\): \( \overline{x_1x_2\cdots x_n} \) with \( x_i \in \{0,1,2\} \)

\(\textbf{Example:} \)

0102212 doesn't contain the pattern 2120

21212021 contains the pattern 2120

×

Problem Loading...

Note Loading...

Set Loading...