New UPSC Foundation, Optional and TGPSC/APPSC batches are open — book your counselling slot.Today's Current AffairsToday's Daily QuizCall 98804 87071

Prelims GS-II (CSAT) · Numeracy · Arithmetic

Divisibility

Divisibility is the property by which one integer divides another without leaving a remainder. For CSAT, it provides fast methods for checking factors, finding unknown digits, simplifying fractions, counting multiples and solving remainder problems. Effective preparation requires understanding place value, prime factorisation and the conditions under which divisibility rules can be combined.

Partial Russian text of the decree adopting the Gregorian calendar in Russia as published in Pravda 25 January 1918 (Julian) or 7 February 1918 (Gregorian). 
The full text of the article:

Decree rega

Partial Russian text of the decree adopting the Gregorian calendar in Russia as published in Pravda 25 January 1918 (Julian) or 7 February 1918 (Gregorian). The full text of the article: Decree rega

Credit: V. Ulyanov (Lenin) and his People's Commissars · Public domain · source

The International Standard Book Number (ISBN) is a unique number in the world that is assigned to each format of book published.
ISBN For Book

The International Standard Book Number (ISBN) is a unique number in the world that is assigned to each format of book published. ISBN For Book

Credit: RatulAsian · CC BY-SA 4.0 · source

1. Meaning and relevance in CSAT

If 84 objects can be arranged in groups of 7 without any object remaining, 84 is divisible by 7. Here, 7 is a divisor or factor, and 84 is a multiple of 7. The notation 7 | 84 means that 7 divides 84. Divisibility describes exact integer division, whereas ordinary division may produce a fraction or a non-zero remainder.

Every positive integer is divisible by 1 and itself. Zero is divisible by every non-zero integer because 0 = d × 0. However, division by zero is undefined, so zero must not be used as a divisor. Negative signs do not affect whether division is exact: divisibility can generally be checked using absolute values.

In CSAT, divisibility commonly appears within questions on missing digits, number formation, equal grouping, fractions, HCF and LCM, and remainders. Rather than carrying out long division, aspirants should recognise the structure of the divisor and apply the shortest valid test. These skills also support rapid elimination of answer options.

  • Factor: a number that divides a given integer exactly.
  • Multiple: the result of multiplying an integer by another integer.
  • HCF: the greatest positive integer dividing each of the given integers.
  • LCM: the smallest positive integer divisible by each of the given positive integers.

2. Essential divisibility tests

Decimal divisibility tests arise from place value. Since 10, 100 and higher powers of 10 are multiples of 2 and 5, the units digit decides divisibility by 2 or 5. Similarly, because 100 is divisible by 4, only the last two digits matter for 4; because 1,000 is divisible by 8, only the last three digits matter for 8.

For 3 and 9, add all digits and test the sum. For example, the digit sum of 57,834 is 27, so the number is divisible by both 3 and 9. This works because every power of 10 leaves remainder 1 when divided by 3 or 9. The number and its digit sum therefore have the same remainder for these divisors.

For 11, find the difference between the sums of digits in alternate positions. If the difference is zero or a positive or negative multiple of 11, the number is divisible by 11. For 918,082, the two sums are 17 and 11; their difference is 6, so the number is not divisible by 11.

For 7, remove the units digit, double it and subtract the result from the remaining number. Repeat if useful. Thus, 2,401 gives 240 − 2 = 238, then 23 − 16 = 7; hence 2,401 is divisible by 7. This transformation preserves divisibility, but not necessarily the original remainder.

  • 2: the last digit is 0, 2, 4, 6 or 8.
  • 5: the last digit is 0 or 5; 10: the last digit is 0.
  • 4: the number formed by the last two digits is divisible by 4.
  • 8: the number formed by the last three digits is divisible by 8.
  • 25: the last two digits are 00, 25, 50 or 75.
  • 125: the last three digits form a multiple of 125, including 000.

Solving a divisibility question

  1. 1. Identify the divisor, number range and digit restrictions.
  2. 2. Factorise the divisor into prime powers.
  3. 3. Apply the quickest valid tests.
  4. 4. Combine conditions using the LCM or coprime factors.
  5. 5. Check every surviving answer against the original conditions.

3. Composite divisors and prime-power reasoning

Prime factorisation gives the general method for divisibility. If d = pᵃqᵇ, where p and q are distinct primes, a number is divisible by d precisely when its prime factorisation contains at least a copies of p and b copies of q. For example, 72 = 2³ × 3², so divisibility by 72 requires divisibility by both 8 and 9.

A number divisible by a and b is always divisible by their LCM. It is necessarily divisible by their product only when a and b are coprime, meaning their HCF is 1. Thus, testing 3 and 4 establishes divisibility by 12. Testing 2 and 6 does not: 6 passes both tests but is not divisible by 12.

For a positive integer written as a product of prime powers, the number of positive divisors is found by adding 1 to each exponent and multiplying. Since 360 = 2³ × 3² × 5, it has (3 + 1)(2 + 1)(1 + 1) = 24 positive divisors. Each divisor is formed by independently selecting an allowed exponent for every prime.

  • 6: test divisibility by 2 and 3.
  • 12: test divisibility by 3 and 4.
  • 15: test divisibility by 3 and 5.
  • 18: test divisibility by 2 and 9.
  • 24: test divisibility by 3 and 8.
  • 36: test divisibility by 4 and 9.
Choosing valid component tests for composite divisors
DivisorPrime factorisationSufficient component tests
122² × 34 and 3
242³ × 38 and 3
362² × 3²4 and 9
453² × 59 and 5
722³ × 3²8 and 9
1002² × 5²4 and 25

4. Missing digits, remainders and counting multiples

For missing-digit questions, translate each divisibility requirement into a constraint. Suppose 4a2b is divisible by 45. Since 45 = 5 × 9, b must be 0 or 5, and 6 + a + b must be divisible by 9. If b = 0, a = 3; if b = 5, a = 7. The possible numbers are therefore 4,320 and 4,725.

The division algorithm states that N = dq + r, where d is positive and 0 ≤ r < d. The smallest non-negative amount to subtract from N to obtain a multiple of d is r. The smallest non-negative amount to add is d − r when r is non-zero, and zero when r = 0. If the question asks for a strictly positive addition and N is already divisible, the answer is d.

The number of positive multiples of d not exceeding N is floor(N/d), where floor means the greatest integer not exceeding the value. In the inclusive positive-integer interval L to U, the count is floor(U/d) − floor((L − 1)/d). Thus, multiples of 7 from 50 to 100 number 14 − 7 = 7.

For numbers divisible by a or b, add the separate counts and subtract the count divisible by LCM(a, b), since those numbers were counted twice. From 1 to 100, numbers divisible by 4 or 6 total 25 + 16 − 8 = 33. The overlap consists of multiples of 12.

  • A digit must be an integer from 0 to 9; the leading digit of a multi-digit number cannot be zero.
  • For divisibility by both divisors, count multiples of their LCM.
  • For divisibility by exactly one of two divisors, subtract twice the overlap from the sum of the separate counts.

5. Efficient exam strategy and common errors

Start by factorising the divisor and inspecting the answer options. Conditions on the last digit or last two digits are usually quickest, followed by digit-sum and alternating-sum tests. In multiple-condition questions, apply the most restrictive condition first. Finally, verify surviving candidates against every requirement, including digit restrictions and interval endpoints.

Divisibility also behaves predictably under addition and subtraction. If d divides both a and b, it divides a + b and a − b, and more generally every integer combination ma + nb. Conversely, if d divides a and a + b, it must divide b. These properties can replace lengthy calculations with a short structural argument.

Do not cancel a factor from a divisibility claim without checking the conditions. If d divides ab and HCF(a, d) = 1, then d divides b. Without coprimality, this inference may fail: 6 divides 2 × 3, but 6 does not divide 3. Likewise, divisibility by 3 does not imply divisibility by 9, and an even digit sum does not imply an even number.

  • Distinguish a remainder-preserving method from a test that preserves only divisibility.
  • Check whether endpoints are included before counting multiples.
  • Use prime powers, not merely distinct prime factors: divisibility by 2 and 3 is insufficient for divisibility by 12.
  • Prefer a short valid test over memorising many unfamiliar rules.

Real-world case studies

Gregorian calendar: the century-year exception

The Gregorian calendar uses nested divisibility conditions. A year divisible by 4 is ordinarily a leap year, but a century year must also be divisible by 400. Thus, 1900 was not a leap year, whereas 2000 was. This illustrates why satisfying one condition may be insufficient when a rule contains an exception.

ISBN-13: divisibility in error detection

The ISBN-13 book identifier uses a weighted digit sum. The first twelve digits receive alternating weights of 1 and 3; the check digit makes the total divisible by 10. This detects every single-digit substitution, although it does not detect every possible error. It is a practical application of modular arithmetic rather than an ordinary digit-sum test.

Previous year questions

No source-linked PYQ is available here yet. Use the practice questions below.

Practice questions

Practice MCQ 1 · Easy

If the four-digit number 6a42 is divisible by 9, where a is a digit, what is the value of a?

  • A. 3
  • B. 6
  • C. 7
  • D. 9

Practice MCQ 2 · Easy

Which one of the following numbers is divisible by 24?

  • A. 1236
  • B. 1256
  • C. 1248
  • D. 1260

Practice MCQ 3 · Easy

What is the least non-negative integer that must be added to 587 to make the resulting number divisible by 12?

  • A. 1
  • B. 5
  • C. 7
  • D. 11

Practice MCQ 4 · Easy

A positive integer is divisible by both 12 and 18. By which one of the following numbers must it necessarily be divisible?

  • A. 24
  • B. 54
  • C. 72
  • D. 36

Practice MCQ 5 · Easy

How many integers from 50 to 100, both inclusive, are divisible by 7?

  • A. 6
  • B. 7
  • C. 8
  • D. 9

Practice MCQ 6 · Moderate

In the four-digit number 3a4b, a and b are digits. What is the sum of all distinct numbers of this form that are divisible by 72?

  • A. 6480
  • B. 6732
  • C. 7488
  • D. 6984

Practice MCQ 7 · Moderate

Among the integers from 1 to 300, both inclusive, how many are divisible by exactly one of 6 and 15?

  • A. 50
  • B. 60
  • C. 70
  • D. 40

Practice MCQ 8 · Moderate

What is the least positive integer k such that 540k is both a perfect square and divisible by 8?

  • A. 15
  • B. 30
  • C. 60
  • D. 120

Practice MCQ 9 · Moderate

What is the smallest three-digit positive integer that leaves remainder 5 when divided by each of 8, 12 and 18, and is exactly divisible by 7?

  • A. 509
  • B. 581
  • C. 653
  • D. 725

Practice MCQ 10 · Moderate

How many positive divisors of 1260 are divisible by 6 but not divisible by 9?

  • A. 8
  • B. 12
  • C. 16
  • D. 24

Practice MCQ 11 · Difficult

How many six-digit numbers can be formed using each of the digits 0, 1, 2, 3, 4 and 8 exactly once such that the number is divisible by 396?

  • A. 16
  • B. 20
  • C. 24
  • D. 28

Practice MCQ 12 · Difficult

For how many integers n with 1 ≤ n ≤ 1000 is n(n + 1) divisible by 72?

  • A. 54
  • B. 52
  • C. 53
  • D. 56

Practice MCQ 13 · Difficult

What is the least positive perfect square that is divisible by 49 and leaves remainder 1 when divided by each of 12, 18 and 20?

  • A. 2401
  • B. 3969
  • C. 5929
  • D. 8281

Practice MCQ 14 · Difficult

For each integer n from 1 to 1000, the fraction n/360 is reduced to its lowest terms. For how many values of n is the resulting denominator divisible by 12 but not divisible by 9?

  • A. 165
  • B. 166
  • C. 167
  • D. 168

Practice MCQ 15 · Difficult

How many integers from 1 to 2000, both inclusive, are divisible by exactly two of the numbers 12, 18 and 30, but are not divisible by 8?

  • A. 38
  • B. 50
  • C. 62
  • D. 44

Further reading

  • NCERT Mathematics, Class VI, Playing with Numbers, for factors, multiples and divisibility tests.
  • NCERT Mathematics, Class X, Real Numbers, for prime factorisation and HCF–LCM reasoning.
  • UPSC official website, upsc.gov.in: Civil Services Examination notification and General Studies Paper II previous question papers.
  • International ISBN Agency, isbn-international.org: ISBN Users’ Manual and check-digit guidance.

Preparing for UPSC Civil Services? Get classroom teaching, answer-writing evaluation and mentorship at Pragnya IAS Academy, Ashok Nagar — see why aspirants choose us for IAS coaching in Hyderabad.

Talk to a counsellor

Tell us your preparation stage and preferred programme — a counsellor will call back with batch timings and a study plan.

Or call 98804 87071 · Mon–Sat 9 am–7 pm

Free UPSC daily current affairs quiz — 10 questions, new every day at 8 am IST.

Call nowWhatsApp