CSAT Solved Papers/ 2025/Q25

2025 CSAT — Q25

Quant Number theory 2.5 marks Hard

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

  1. A 20
  2. B 21
  3. C 22 Answer
  4. D 23

Worked rationale

First prune the redundant divisor. Every multiple of 99 is already a multiple of 33, so “not divisible by 99” adds nothing once “not divisible by 33” is imposed. The condition collapses to: not divisible by any of 2,3,5,72, 3, 5, 7.

Count, by inclusion–exclusion, how many of 11100100 are divisible by at least one of 2,3,5,72,3,5,7:

Singles: 100/2+100/3+100/5+100/7=50+33+20+14=117.\lfloor 100/2\rfloor + \lfloor100/3\rfloor + \lfloor100/5\rfloor + \lfloor100/7\rfloor = 50 + 33 + 20 + 14 = 117.

Pairs (subtract): 100/6+100/10+100/14+100/15+100/21+100/35=16+10+7+6+4+2=45.\lfloor100/6\rfloor + \lfloor100/{10}\rfloor + \lfloor100/{14}\rfloor + \lfloor100/{15}\rfloor + \lfloor100/{21}\rfloor + \lfloor100/{35}\rfloor = 16 + 10 + 7 + 6 + 4 + 2 = 45.

Triples (add): 100/30+100/42+100/70+100/105=3+2+1+0=6.\lfloor100/{30}\rfloor + \lfloor100/{42}\rfloor + \lfloor100/{70}\rfloor + \lfloor100/{105}\rfloor = 3 + 2 + 1 + 0 = 6.

Quad (subtract): 100/210=0.\lfloor100/{210}\rfloor = 0.

div by 2,3,5 or 7=11745+60=78.\big|\text{div by }2,3,5\text{ or }7\big| = 117 - 45 + 6 - 0 = 78.

Not divisible by any: 10078=22100 - 78 = 22.

Answer: (c) 22. (These are 11 together with the 2121 primes >7>7 up to 100100.)

Why the other options miss

  • A
    missed a case: drops one or two triple-overlap terms (e.g. forgets 100/30\lfloor100/30\rfloor), under-counting the add-back.
  • B
    counted one too few: forgets to count 11 (which is divisible by none), giving just the 2121 primes >7>7.
  • D
    an arithmetic slip: in the pair sum (e.g. 100/14\lfloor100/14\rfloor read as 66), nudging the final count up by one.

Specialist insight

The exam-fast move is killing the redundant divisor before any counting: 99 is a subset condition of 33, so four-way inclusion–exclusion (241=152^4-1 = 15 terms) shrinks to the cleaner three-way-plus-one over {2,3,5,7}\{2,3,5,7\}. Mishandling the 99 — either double-removing its multiples or running a needless 99-term — is the engineered error. Under the clock, also sanity-check the answer structurally: the survivors are exactly 11 and the primes in (7,100](7,100], of which there are 2121, so 2222 total — a fast independent confirmation of the inclusion–exclusion arithmetic.

The trap, in one line

"Not divisible by 99" is redundant given "not divisible by 33" — reduce to {2,3,5,7}\{2,3,5,7\}, then inclusion–exclusion gives 10078=22100-78 = 22.

← All 2025 CSAT questions