This formula is called Catalan number read about it you will understand.
https://brilliant.org/wiki/catalan-numbers/
64.3k questions
77.9k answers
244k comments
80.0k users