I want to know in how many ways we can write a positive integer by using strict positive integers, addition and brackets. The order of addition does not matter.
For instance
$$3 = 1 + 1 + 1 = 1 + 2 = 1 + (1 + 1) $$
invalid expression are brackets over the whole such as $(1+1+1),(3)$ and nonsensical bracket use such as $1+1+(1)$ or $1+() + 2$ not closing the brackets.
So we can write 3 in 4 ways.
Let $M(n)$ be the number of ways we can write $n$ like that.
This function $M(n)$ is clearly an analogue to the partition function, and it grows faster.
But how fast does this function grow ?
What is known about it ?
I tried to find useful recurrence equations and generating functions but failed.
Similar question for $T(n)$ which counts the number of ways but where the order matters for distinct parts. So here $1+1+1$ counts as one way , but $1 + 2$ and $2+1$ count as 2 ways.
edit
See also :
https://mathworld.wolfram.com/Bracketing.html
https://mathworld.wolfram.com/SuperCatalanNumber.html
https://en.wikipedia.org/wiki/Partition_function_(mathematics)