I'm trying to solve the egg-dropping problem (in this variant, I have to find the amount of floors that can be covered with $d$ drops and $n$ eggs). From the linked site, I've found this formula:
$$f(d, n) = \sum_{i=1}^n \binom{d}{i}$$
This works, however my program gets too slow to sum all of the combinations if input numbers are very large (bigger than $10000$), so I was wondering if there was a formula to simplify this summation in order to calculate this directly. For example, I know from the binomial theorem that:
$$ \sum_{k=0}^{n} \binom{n}{k} = 2^n$$
And the post Sum of combinations of n taken k where k is from n to (n/2)+1 has a nice solution as well. Is there an immediate formula for an arbitrary $1 \le n \le d$ ?