Exercise · ZW-CATALAN-NUMBER-004 · ★★☆ Intermediate

In how many different ways can the product \(x_1x_2x_3\) be parenthesized?

Choose one option.

Show answer
  • C. 2

Explanation

There are two bracketings, \((x_1x_2)x_3\) and \(x_1(x_2x_3)\), matching \(C_2=2\). The value 6 counts orderings of the three factors, not bracketings.

Study Enumerative combinatorics in ZWMath →

Review the concept: Catalan number

The Catalan number \(C_n\) counts, among many other structures, the triangulations of a convex polygon with \(n+2\) sides and the Dyck paths of length \(2n\).

\[C_n=\frac{1}{n+1}\binom{2n}{n}=\frac{(2n)!}{n!\,(n+1)!}\]

More practice problems: catalan number

← ZW-CATALAN-NUMBER-003 ZW-CATALAN-NUMBER-005 →