Mathematics (JEE)Hard

How many ordered pairs (x, y) with 1 ≤ x ≤ 12 and 1 ≤ y ≤ 12 satisfy the condition that x + y is a prime number?

  1. A. 63
  2. B. 51
  3. C. 39
  4. D. 66

Correct answer: B. 51

Count by sum s = x + y, which runs from 2 to 24. The number of pairs with sum s is 12 − |s − 13| for s in 2..24. Summing over the prime sums 2, 3, 5, 7, 11, 13, 17, 19, 23 gives 51.

More Permutations, Combinations and Probability questions

Exams that ask this topic