The Peg-Leg Pirate and MathematicsDiscrete Mathematics Level pending
Once a pirate (Blackbeard) captured a couple of hostages and decided to play with one of them. He said-" We shall roll a dice to decide your fortune. An even number shall lead you to freedom, a prime to the gallows and a co-prime shall give you the opportunity to to replace me as the captain. In case of primes, another dice shall be rolled. If even comes up, you will be shot by my ace shooter, in case of odd (other than 1) my amateur shooter shall hit you, in case of 1 you shall be released. Ace shooter has a probability of hitting the target of 0.9 and the amateur has of 0.4. Find the probability of the hostage being freed.