Let’s say there are defective items in a sample of ten drawn sequentially. As we can see, the items’ drawings are now done with replacement. As a result, the trials are Bernoulli tests.
Now, probability of getting a defective item,
We can say that has a binomial distribution, where and
Probability of getting not more than one defective item