A bag contains 10 marbles that are numbered 0 through 9. Precisely three marbles are drawn at random from the bag without replacement.
Determine the probability that a three-digit prime number (with non leading zero) can be constituted by rearrangement of digits corresponding to the three marbles (including the original order of the digits.)
As a bonus determine the corresponding probability if the three marbles were drawn with replacement at the outset.