UPSC CSAT 2023 Q45: Divisors Leaving a Given Remainder — Solved

How many natural numbers are there which give a remainder of 31 when 1186 is divided by these natural numbers?

  1. 6
  2. 7
  3. 8
  4. 9

Answer: (d) 9

Solution

  1. Let n be a natural number that leaves remainder 31 when it divides 1186. Then 1186 = n × q + 31 for some whole-number quotient q.
  2. Move the remainder across: n × q = 1186 − 31 = 1155. So n must be a divisor of 1155.
  3. A remainder must be smaller than the divisor. So n > 31. A divisor of 31 or less cannot leave remainder 31.
  4. Factorise 1155: 1155 ÷ 5 = 231; 231 ÷ 3 = 77; 77 ÷ 7 = 11. So 1155 = 3 × 5 × 7 × 11.
  5. Count all divisors: each of the four primes has power 1, so the count is (1+1)(1+1)(1+1)(1+1) = 16.
  6. List them in pairs that multiply to 1155: - 1 × 1155 - 3 × 385 - 5 × 231 - 7 × 165 - 11 × 105 - 15 × 77 - 21 × 55 - 33 × 35

  7. Remove the divisors that are 31 or less: 1, 3, 5, 7, 11, 15, 21. That is 7 divisors.

  8. Divisors greater than 31: 33, 35, 55, 77, 105, 165, 231, 385, 1155. That is 16 − 7 = 9 divisors.
  9. Check two of them: - 1186 ÷ 33: 33 × 35 = 1155, and 1186 − 1155 = 31. Remainder 31. - 1186 ÷ 1155: 1155 × 1 = 1155, and 1186 − 1155 = 31. Remainder 31. So 1155 itself counts.

  10. Answer: 9 natural numbers.

Option-wise explanation

  • a: incorrect — 6 drops three valid divisors. This happens when you stop the list early, for example at 165, and miss the large ones 231, 385 and 1155.
  • b: incorrect — 7 is the number of divisors of 1155 that are 31 or less (1, 3, 5, 7, 11, 15, 21). Those are exactly the ones you must throw out. This trap counts the wrong side of the cut-off.
  • c: incorrect — 8 is what you get if you leave out 1155 itself. 1186 ÷ 1155 gives quotient 1 and remainder 31, so it counts. 8 is also half of 16, the trap of taking the divisors above √1155 ≈ 34 and forgetting 33, which lies between 31 and 34.
  • d: correct — 1155 = 3 × 5 × 7 × 11 has 16 divisors. Seven of them are 31 or less. The other 9 (33, 35, 55, 77, 105, 165, 231, 385, 1155) each leave remainder 31.

How to eliminate

Subtract first: 1186 − 31 = 1155. Its unit digit is 5 and its digit sum is 12, so 5 and 3 divide it quickly: 1155 = 3 × 5 × 7 × 11, which gives 16 divisors. Use the pairing shortcut. √1155 is just under 34 (34² = 1156), so exactly 8 divisors lie above 34. Then check the narrow band between 31 and 34: only 33 divides 1155. Total 8 + 1 = 9. You do not need the full list. Watch for the two traps: 7 is the count of small divisors you discard, and 8 forgets 33 or 1155. About 45–60 seconds once you subtract the remainder. Attempt it on the first pass. It is a standard, low-risk scoring question.

Know more

Divisors that leave a given remainder

If N leaves remainder r when divided by d, then d divides N − r, and d > r.

So the method has three steps:

  1. Compute M = N − r.
  2. Count the divisors of M. If M = p^a × q^b × s^c, the count is (a+1)(b+1)(c+1).
  3. Subtract the divisors that are r or less.

Pairing shortcut. Divisors pair up as d × (M/d). Exactly half lie above √M (if M is not a perfect square). Count those, then add the few divisors between r and √M.

Step This question Variant
N, r 1186, 31 247, 7
M = N − r 1155 240
Prime form 3 × 5 × 7 × 11 2⁴ × 3 × 5
Total divisors 16 5 × 2 × 2 = 20
Divisors ≤ r 1, 3, 5, 7, 11, 15, 21 → 7 1, 2, 3, 4, 5, 6 → 6
Answer 9 14

Worked variant. How many natural numbers leave remainder 7 when they divide 247? M = 240 = 2⁴ × 3 × 5, which has 20 divisors. The divisors of 240 that are 7 or less are 1, 2, 3, 4, 5, 6. 7 does not divide 240. So the answer is 20 − 6 = 14.

Edge checks. M itself always counts when M > r (quotient 1). A divisor equal to r never counts, because the remainder must be strictly smaller than the divisor.