Determines the likelihood of achieving a specific number of successes (or a maximum number of successes) within a specified number of attempts, considering a defined population size that includes a certain number of successes, with the possibility of replacing draws.