CSAT 2025

Q. 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)?

(a) 4
(b) 5
(c) 6
(d) More than 6

UPSC Prelims 2025 CSAT

Explanation : 

We seek all 3-term arithmetic progressions of primes below 20. If p, q, r are in arithmetic progression then

  p − q = q − r ⟹ p + r = 2q.

The primes under 20 are {2, 3, 5, 7, 11, 13, 17, 19}. Testing q in this set and looking for an integer step d>0 with q±d also prime, one finds exactly five progressions (up to order):

1. (3, 5, 7) sum = 15

2. (3, 7, 11) sum = 21

3. (5, 11, 17) sum = 33

4. (3, 11, 19) sum = 33

5. (7, 13, 19) sum = 39

The sums that occur are 15, 21, 33, 39. Hence there are 4 distinct values of p+q+r.

Check Demo Video

UPSC Factory

Master UPSC offline! 📚🎯 4000+ Prelims PYQs, Mains model answers, NCERT books, Syllabus tracker, topper notes, past papers.
Give it a try, you will love it !!💯

UPSC Factory for Android
Conquer UPSC offline! 🚀 PYQs (Prelims & Mains), Test Series, Syllabus Tracker.
Give it a try, you will love it 💯