Reference: question
In the question referred, the answer involves counting number of ways in which 12 identical balls are to be put into 3 identical boxes. This count is $19$ as expressed in @ADG's answer and then probability can be found out.
Is there be any general formula for finding this integer partitions. If I take the same example, say, we need to find out number of ways of 12 identical balls are to be put into 3 identical boxes
After spending a good amount of time, the following are my observations.
If we are looking for a general case, like the number of ways $12$ can be written as sum of positive integers, , we can use Hardy Ramanujan Asymptotic Formula which gives an approximation (in this case we get 77 as the count)
However, if we are looking for a specific case, like the number of ways $12$ can be written as sum of $3$ positive integers, then, there is no specific formula. However, we can derive individual formulas for 1,2,3 etc (reference: Chapter 6 of Andrews and Eriksson,) (in this case we get 19 as the count)
Please share if any formula exist and also share any new findings in this context. Please also tell if my assumptions are right .