Is there a simple formula or distribution curve to answer a question like this?
Assume there are K buckets and we want to randomly assign N balls to them. Each ball has an equal chance of being assigned to any of the buckets. There are more balls than buckets. When all balls have been assigned, what is the likelihood that X (or more) buckets remain empty?
To make it more concrete. Given 146 balls, and 77 buckets, with each ball being randomly assigned to one of those buckets, how likely/unlikely are there to be 35 empty buckets when all balls have been assigned?
If this simplifies the problem, the question could be asked, how likely/unlikely are there to be at least 35 empty buckets when all balls have been randomly distributed?
Would like to know if there is a way to characterize this as: that is a 1 in 1000 chance, or a 1 in a million chance, for example.
If the number of balls and buckets is reasonably large, the number of balls in a specific bucket will approximate a Poisson distribution. The linearity of expectation then gives the expected number of empty buckets.
For low chances you can calculate the chance that a given set of buckets is empty and multiply by the number of ways to select a set of that many buckets. This takes advantage of the fact that if getting $35$ empty buckets is small the chance of getting $36$ is much smaller. When you multiply by the number of ways of getting $35$ empty you will count cases of $36\ 36$ times each, cases of $37\ {37 \choose 2}$ times each and so on.
Using your numbers as an example, the average number of balls per bucket is $\frac {146}{77} \approx 1.896$. The chance a given bucket is empty is about $0.012987$. The chance to have a given set of $35$ buckets empty is $\left(\frac {42}{77}\right)^{146}\approx 3.688 \cdot 10^{-39}$. The chance of at least $35$ empty is then less than ${77 \choose 35}$ times this, which gives $3.688 \cdot 10^{-17}$ We can probably ignore the overcounting in this case.