返回题库

素数骰:点数和为素数的概率

Prime Pair

专题
Probability / 概率
难度
L2

题目详情

掷两枚公平骰子,但每枚骰子的 6 个面分别写着前 6 个素数:2,3,5,7,11,132,3,5,7,11,13。求两枚朝上的点数之和仍为素数的概率。

You roll two fair 66-sided dice. Each of the two dice have the first 66 prime numbers on the sides. Find the probability that the sum of the two upfaces is also prime?

解析

除了 2 外所有素数都是奇数,因此若两数都为奇数,它们的和为偶数且大于 2,不可能是素数。

所以必须有一个是 2。此时和为素数要求 2+(另一个)2+(\text{另一个}) 为素数。

可行的素数和为 5、7、13,对应对偶为 (2,3)、(2,5)、(2,11),每个有 2 种排列,共 6 个有利结果。

总结果 62=366^2=36,故概率为

636=16.\frac{6}{36}=\frac{1}{6}.

Original Explanation

The numbers on the sides would be 2,3,5,7,11,2, 3, 5, 7, 11, and 1313. Therefore, the sum of the two upfaces has to be between 44 and 2626, inclusive. The prime integers in this interval are 5,7,11,13,17,19,5, 7, 11, 13, 17, 19, and 2323. We now need to determine how each prime can be obtained from these dice. One thing to note is that 22 must be one of the rolls, as all other values on the die are primes larger than 22, which must be odd. Therefore, the outcomes are just primes pp such that p2p-2 is also a prime and p213p-2 \leq 13. The values of pp where this holds true is p=5,7,p = 5, 7, and 1313. Each of these have two permutations of the die outcomes that yield that sum. Therefore, 66 such outcomes of the 62=366^2 = 36 yield a prime sum, so our answer is 636=16\dfrac{6}{36} = \dfrac{1}{6}