Solved

The Catalan Numbers Cn Count the Number of Strings of N

Question 68

Short Answer

The Catalan numbers Cn count the number of strings of n +’s and n −’s with the following property: as each string is read from left to right, the number of +’s encountered is always at least as large as the number
of −’s.
(a) Verify this by listing these strings of lengths 2, 4, and 6 and showing that there are C1 , C2 , and C3 of
these, respectively.
(b) Explain how counting these strings is the same as counting the number of ways to correctly parenthesize
strings of variables

Correct Answer:

verifed

Verified

(a) C1:+-, C2:+-+-,++--, C3:+-+-...

View Answer

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions