Skip to content

GATE CS 1990 Q3-iii — Combinatorics: Counting, Recurrence Relations, Generating Functions

Explain with AI

The number of rooted binary trees with nn nodes is,

Select all correct options
View worked solution

Answer: A;C

The number of unlabeled rooted binary trees with nn nodes is given by the nn-th Catalan number, denoted as CnC_n.

The formula for the nn-th Catalan number is:

Cn=1n+1(2nn)C_n = \frac{1}{n+1} \binom{2n}{n}

Let's evaluate each option based on this definition:

  • Option A: The number of ways to fully parenthesize (multiply) a chain of kk matrices is given by the Catalan number Ck−1C_{k-1}. For k=n+1k = n+1 matrices, the number of ways is C(n+1)−1=CnC_{(n+1)-1} = C_n. Thus, this option is correct.
  • Option B: The number of ways of arranging nn out of 2n2n distinct elements is given by the permutation P(2n,n)=(2n)!n!P(2n, n) = \frac{(2n)!}{n!}, which is not equal to CnC_n. Thus, this option is incorrect.
  • Option C: This is the exact algebraic expression for the nn-th Catalan number CnC_n. Thus, this option is correct.
  • Option D: The value n!n! grows much faster than CnC_n for larger nn (for example, for n=3n=3, C3=5C_3 = 5 but 3!=63! = 6). Thus, this option is incorrect.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Combinatorics: Counting, Recurrence Relations, Generating Functions questions