UPSC CSE 2025 CSAT · Question 15

UPSC CSE 2025 CSAT question on Number System Natural Divisible

CSAT is a qualifying paper.

Consider the first 100 natural numbers. How many of them are not divisible by any one of 2, 3, 5, 7 and 9?

  1. 20
  2. 21
  3. 22
  4. 23
Show answer

Answer: C. 22

Solution

  1. Any multiple of 9 is a multiple of 3, so 9 adds nothing. Count numbers from 1 to 100 divisible by at least one of 2, 3, 5, 7.
  2. Singles: ⌊100⁄2⌋ = 50, ⌊100⁄3⌋ = 33, ⌊100⁄5⌋ = 20, ⌊100⁄7⌋ = 14. Sum = 117.
  3. Pairs: 6 → 16, 10 → 10, 14 → 7, 15 → 6, 21 → 4, 35 → 2. Sum = 45.
  4. Triples: 30 → 3, 42 → 2, 70 → 1, 105 → 0. Sum = 6. All four (210) → 0.
  5. Divisible by at least one = 117 − 45 + 6 − 0 = 78.
  6. Not divisible by any = 100 − 78 = 22.
  7. Check: these are 1 and the 21 primes from 11 to 97 (11, 13, …, 97), i.e. 22 numbers.

Why the other options are wrong

  • (a) 20: drops two numbers, e.g. leaving out 1 and miscounting one prime.
  • (b) 21: counts only the primes 11 to 97 and forgets the number 1, which is divisible by none of them.
  • (d) 23: counts one extra, e.g. adding a number like 49 (= 7 × 7), which is divisible by 7.

Quick trick

  • Below 121 (= 11²), a number with no factor 2, 3, 5 or 7 must be 1 or a prime ≥ 11. There are 25 primes up to 100; remove 2, 3, 5, 7 to get 21, then add 1: 22.

Remember

Ignore divisors that are multiples of others in the list (9 with 3), then use inclusion–exclusion or a direct listing.

Hence the answer is (c).

Share
Ask Atlas (2) for similar questions
  1. 2020 · Q26 Number System Integers Digit — Same pattern: counting integers in 1 to 100 that satisfy a condition and fail a divisibility test.
  2. 2020 · Q19 Number System Digit Prime — Also counts primes and their digit structure, linking to the prime-based shortcut in the solution.

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