hactoberfest_contribution_2022 icon indicating copy to clipboard operation
hactoberfest_contribution_2022 copied to clipboard

Program for nth Catalan Number

Open Sachindrck opened this issue 2 years ago • 0 comments

Catalan numbers are defined as mathematical sequence that consists of positive integers, which can be used to find the number of possibilities of various combinations.

The nth term in the sequence denoted Cn, is found in the following formula: \frac{(2n)!}{(n + 1)! n!)}

The first few Catalan numbers for n = 0, 1, 2, 3, … are : 1, 1, 2, 5, 14, 42, 132, 429, 1430, 4862, …

Sachindrck avatar Oct 07 '22 16:10 Sachindrck