Great answer and explanation above, but i think there's a typo in the fraction.
This is what it should be (divided by 5*7:
N= \(\frac{500}{7}-\frac{500}{3*7}-\frac{500}{5*7} +\frac{500}{3*5*7}\)=38
Probability= 38/500= 0.076
PS: My first post here on this great site, hope this helps!
[quote="nick1816"]We have to figure out the number of integers, which are divisible by 7, but not by 3 or 5, from 1 to 500.
N= \([\frac{500}{7}]-[\frac{500}{3*7}]-[\frac{500}{3*5}]+[\frac{500}{3*5*7}]\)=38
Probability= 38/500= 0.076
[quote="Bunuel"]Melissa enters a charity raffle in which bags of candy are being given away as prizes. She will be randomly assigned a number from the set of positive integers from 1 to 500 and receive a bag filled with that many pieces of candy. She decides that if the number of pieces of candy she receives is such that she can distribute the candy equally among her three children OR such that she can distribute the candy equally among her children, herself, and her husband, then she will keep it. In all other cases, she will give the candy to her neighbor if only if it can be distributed equally among the seven members of her neighbor’s family. What is the probability that Melissa gives the bag of candy to her neighbor?
A. 0.068
B. 0.076
C. 0.096
D. 0.114
E. 0.142