Suppose that we have some $n$ numbers.
As an example let us take $n=4$ and call that numbers $a,b,c,d$. We can parenthesise them in these ways:$(a,b,c,d)$, then $((a,b),c,d)$, then $(a,(b,c),d)$, then $(a,b,(c,d))$, then $((a,b),(c,d))$, then $((a,b,c),d)$, then $(a,(b,c,d))$, then $(((a,b),c),d)$, then $((a,(b,c)),d)$, then $(a,(b,(c,d))$, then $(a,((b,c),d)$.
How to calculate this number for arbitrary $n$?