Clear Notion Academy

JEE Advanced 2020 Mathematics PYQ: Two fair dice, each with faces numbered 1, 2, 3, 4, 5 and 6, are rolled together and the…

Question

Two fair dice, each with faces numbered 1, 2, 3, 4, 5 and 6, 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 14p14p is ____

Answer

Answer: 8

Hint

Treat each possible sum (2-12) as landing in one of three buckets — prime, perfect square, or neither (which just triggers a re-roll); the relative odds of landing on any two absorbing outcomes before the process stops equal their raw single-roll probabilities.

Solution

Deconstruction\textbf{Deconstruction}: Two dice are re-rolled repeatedly until the sum is prime or a perfect square; given that a perfect square occurs first, find the probability pp that this perfect square is odd, then compute 14p14p. Strategy\textbf{Strategy}: Classify each possible sum (2 through 12) as prime, perfect square, or neither. "Neither" outcomes just cause a re-roll and don't affect the relative likelihood of which absorbing outcome (a specific prime or a specific perfect square) occurs first — a standard renewal/competing-risks argument. So the probability that the perfect square is 99 (odd) given a perfect square occurs first equals P(sum=9)P(sum=9)+P(sum=4)\dfrac{P(\text{sum}=9)}{P(\text{sum}=9)+P(\text{sum}=4)}, since 44 and 99 are the only perfect squares achievable. Execution\textbf{Execution}: For two dice, P(sum=4)=3/36P(\text{sum}=4)=3/36 and P(sum=9)=4/36P(\text{sum}=9)=4/36 (the only perfect-square sums in range [2,12][2,12]; note 11 is impossible and 1616 exceeds the max sum 1212). The primes in range are 2,3,5,7,112,3,5,7,11 with combined probability 15/3615/36, and "neither" (i.e. 6,8,10,126,8,10,12) has probability 14/3614/36 — these don't affect the ratio we need. So p=P(square is 9∣square occurs first)=4/363/36+4/36=47p = P(\text{square is }9 \mid \text{square occurs first}) = \dfrac{4/36}{3/36+4/36} = \dfrac47. Hence 14p=14⋅47=814p = 14\cdot\dfrac47=8. Verification\textbf{Verification}: A Monte Carlo simulation of 2,000,000 repetitions of the full re-rolling process (rolling two dice repeatedly until a prime or perfect-square sum appears, and recording whether the first perfect square reached is odd) gives an empirical p≈0.5712p \approx 0.5712, extremely close to the theoretical 4/7≈0.57144/7\approx0.5714, and 14p≈7.996≈814p\approx7.996\approx8, confirming the analytical result. Final Answer\textbf{Final Answer}: 88

More questions from JEE Advanced 2020 Mathematics PYQ

Practise the full set: JEE Advanced Mathematics PYQs 2020