Solveeit Logo

Question

Mathematics Question on Probability

Two fair dice, each with faces numbered 1,2,3,4,51,2,3,4,5 and 66, are rolled together and the sum of the numbers on the faces is observed. This process is repeated till the sum is either a prime number or a perfect square. Suppose the sum turns out to be a perfect square before it turns out to be a prime number. If pp is the probability that this perfect square is an odd number, then the value of 14p14\, p is _____

Answer

Answer is 8.