UPSC CSE 2025 CSAT · Question 36

UPSC CSE 2025 CSAT question on Number System Prime Distinct

CSAT is a qualifying paper.

Three prime numbers p, q, and r, each less than 20, are such that p − q = q − r. How many distinct possible values can we get for (p + q + r)?

  1. 4
  2. 5
  3. 6
  4. More than 6
Show answer

Answer: A. 4

Solution

  1. p − q = q − r means p, q, r are in arithmetic progression with q in the middle, i.e. q is the average of p and r. Take them as three different primes below 20: 2, 3, 5, 7, 11, 13, 17, 19.
  2. 2 cannot be used: with 2 and an odd prime, the middle term would not be a whole number or the third term would be even.
  3. Find the progressions (r < q < p):
    • 3, 5, 7: sum 15
    • 3, 7, 11: sum 21
    • 3, 11, 19: sum 33
    • 5, 11, 17: sum 33
    • 7, 13, 19: sum 39
  4. Distinct sums: 15, 21, 33, 39, i.e. 4 values. (Two progressions share the sum 33, since sum = 3q and both have q = 11.)

Why the other options are wrong

  • (b) 5: counts the five progressions instead of the distinct sums; 33 appears twice.
  • (c) 6: adds a non-prime progression, e.g. 5, 7, 9 (9 is not prime).
  • (d) More than 6: only five progressions exist among primes below 20.

Quick trick

  • In an AP, p + q + r = 3q. So count distinct middle primes q: 5, 7, 11, 13, giving 4 sums.

Remember

For three terms in AP, the sum is three times the middle term; count distinct middle terms.

Hence the answer is (a).

Share
Ask Atlas (5) for similar questions
  1. 2025 · Q17 Number System Let Prime — Same prime-constraint counting pattern: enumerate primes under a bound and count valid values.
  2. 2020 · Q19 Number System Digit Prime — Also counts prime-number arrangements of given digits, requiring systematic enumeration of primes.
  3. 2024 · Q20 Number System Sum Distinct — Involves sums of distinct primes below a bound, testing prime-sum possibilities in a similar way.
  4. 2017 · Q35 Averages Thirteen Digit Consecutive — Uses arithmetic progression of consecutive odd numbers, where the mean is the middle term.
  5. 2023 · Q16 Number System Distinct Single — Asks for extreme values over distinct single digits, similar to choosing distinct numbers under a constraint.

← Full UPSC CSE 2025 CSAT paper · All Basic numeracy questions