Even Prime Sum

Probability
Number Theory
Easy
Two distinct prime numbers are chosen uniformly from the primes between 1 and 20 inclusive. What is the probability that their sum is even?
Hint 1

List the primes between 1 and 20 and note that only one of them is even.

Hint 2

The sum is odd exactly when one prime is 2 and the other is odd.

Show worked solution
  1. 1. List primes

    Primes from 1 to 20: 2,3,5,7,11,13,17,19 — 8 primes, of which only 2 is even.

  2. 2. Total pairs

    Total ways to choose 2 distinct primes: .

  3. 3. Odd-sum pairs

    Sum is odd only if one prime is 2: 7 such pairs. So even-sum pairs are .

  4. 4. Probability

    Probability of even sum is .

Answer: 3/4

Related roles: Browse quant jobs

Related problems