Catalan's Problem

In mathematics, Catalan's problem asks the number of ways n + 1 factors can be completely parenthesized by n pairs of parentheses. For example, the following are the 14 ways that 5 factors can be parenthesized:

  • (1 (2 (3 (4 5))))
  • (1 (2 ((3 4) 5)))
  • (1 ((2 3) (4 5)))
  • (1 ((2 (3 4)) 5))
  • (1 (((2 3) 4) 5))
  • ((1 2) (3 (4 5)))
  • ((1 2) ((3 4) 5))
  • ((1 (2 3)) (4 5))
  • ((1 (2 (3 4))) 5)
  • ((1 ((2 3) 4)) 5)
  • (((1 2) 3) (4 5))
  • (((1 2) (3 4)) 5)
  • (((1 (2 3)) 4) 5)
  • ((((1 2) 3) 4) 5)

The numbers of ways of performing these pairings are the Catalan numbers.

Famous quotes containing the words catalan and/or problem:

    It’s better that it should make you sick than that you don’t eat it at all.
    Catalan proverb, quoted in Colman Andrews, Catalan Cuisine.

    [How] the young . . . can grow from the primitive to the civilized, from emotional anarchy to the disciplined freedom of maturity without losing the joy of spontaneity and the peace of self-honesty is a problem of education that no school and no culture have ever solved.
    Leontine Young (20th century)