UPSC CSE 2025 CSAT · Question 17

UPSC CSE 2025 CSAT question on Number System Let Prime

CSAT is a qualifying paper.

Let both p and k be prime numbers such that (p² + k) is also a prime number less than 30. What is the number of possible values of k?

  1. 4
  2. 5
  3. 6
  4. 7
Show answer

Answer: B. 5

Solution

  1. If p and k are both odd, p² + k is even and greater than 2, so not prime. So p = 2 or k = 2.
  2. Case p = 2: 4 + k must be a prime below 30, so k < 26:
    • k = 3 → 7 ✓, k = 5 → 9 ✗, k = 7 → 11 ✓, k = 11 → 15 ✗, k = 13 → 17 ✓, k = 17 → 21 ✗, k = 19 → 23 ✓, k = 23 → 27 ✗, k = 2 → 6 ✗.
    • Values: k = 3, 7, 13, 19.
  3. Case k = 2: p² + 2 must be a prime below 30, so p² < 28: p = 3 gives 11 ✓; p = 5 gives 27 ✗.
    • Value: k = 2.
  4. Possible k: 2, 3, 7, 13, 19, i.e. 5 values.

Why the other options are wrong

  • (a) 4: misses k = 2, which works with p = 3 (9 + 2 = 11).
  • (c) 6: adds a value that fails, e.g. k = 5 (4 + 5 = 9) or k = 11 (4 + 11 = 15).
  • (d) 7: adds two failing values.

Quick trick

  • Parity first: one of p, k must be 2. Then test p = 2 (k from primes below 26) and k = 2 (p = 3 only).

Remember

The sum of two odd primes is even; for a prime sum, one term must be 2.

Hence the answer is (b).

Share
Ask Atlas (4) for similar questions
  1. 2022 · Q67 Number System Natural Prime — Same prime-parity reasoning: a prime and composite combined, testing when sums or products are odd or prime.
  2. 2023 · Q25 Number System Prime Composite — Same prime-parity idea: a prime p with composite c, testing odd or even results.
  3. 2024 · Q20 Number System Sum Distinct — Uses distinct small primes and asks which sums are possible, similar counting over prime combinations.
  4. 2025 · Q36 Number System Prime Distinct — Works with three primes under 20 and counts distinct values, a similar prime-enumeration pattern.

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