Skip to content

Lesson 6 of 9 · Divisibility Rules

Count Multiples in a Range

Number System · for IPMAT Indore, IPMAT Rohtak and JIPMAT · asked in Indore 2022

Video lesson: Count Multiples in a Range

Sign in to watch · 6 min video

The exam method

  1. Indore 2022 Q39. four-digit multiples of 66: 1666−166=15001666-166=1500; remove multiples of 3030: 333−33=300333-33=300; answer 12001200.Indore 2022

Worked examples

Example 2Easy

How many integers from 11 to 300300 are divisible by 44 or 66? 75+50−25=10075+50-25=100 (LCM 1212).

Formulas you need

Counting multiples with floors and inclusion-exclusion

#{1≤k≤N:d∣k}=⌊Nd⌋,∣A∪B∪C∣=∑∣A∣−∑∣A∩B∣+∣A∩B∩C∣\#\{1\le k\le N : d\mid k\}=\left\lfloor\frac{N}{d}\right\rfloor,\quad |A\cup B\cup C|=\sum|A|-\sum|A\cap B|+|A\cap B\cap C|

Indore 2019 Q20 (388), 2022 Q39 (1200), 2020 Q21 (38): count multiples of the LCM, subtract overlaps, mind strict bounds.

Watch out

  • Non-co-prime splits; digit-sum rule misapplied to 66; off-by-one at range ends; 'odd multiple' misread; a+b∣an+bna+b\mid a^n+b^n assumed for even nn.

How Divisibility Rules is asked

  • find digit(s) making N divisible by 72/88/99 (JIPMAT 2023 Q25, 2024 Q3)
  • which two digits appended make 4530.. divisible by 6, 7, 9 (Indore 2019 Q24)
  • count integers in a range divisible by a and b but not c / by at least one of a, b (Indore 2019 Q20, 2022 Q39, 2020 Q21)
  • a^n + b^n divisible by a + b; 2^122 + 4^62 + ... factor out the smallest power (JIPMAT 2025)
  • abcde divisible by 6: which rearrangement is NOT necessarily divisible (Indore 2022 Q21)
  • 888888 / abcabc / 10^n - 1 divisibility
  • k^2 - 1 divisible by 8 for odd k (JIPMAT 2023 Q18); n(n+1)(2n+1) always divisible by 6

Picked from the Divisibility Rules note for this micro-concept automatically. The whole note: Divisibility Rules.

Practise this free. Every mistake is saved and comes back until you fix it.

Start free