Factors & Divisibility , formulas + CAT PYQs
Focused Number System kit. The full chapter formula sheet (with explanations & basic examples) is tucked below; every CAT PYQ for Factors & Divisibility is here.
Number System, formula sheet
Show the full Number System formula sheet (explanations + basic examples)
- By 2: last digit is 0, 2, 4, 6 or 8.
- By 4: last two digits divisible by 4 (or both zero).
- By 8: last three digits divisible by 8 (or all zero).
- General rule: divisible by 2ⁿ if the last n digits are divisible by 2ⁿ.
- Use it to test divisibility by a power of 2 without dividing the whole number.
- e.g. 1316 → last two digits 16, and 16 ÷ 4 = 4, so 1316 is divisible by 4.
- By 3: digit-sum is divisible by 3.
- By 9: digit-sum is divisible by 9.
- Just add the digits, if that small sum passes, the whole number does.
- e.g. 4527 → 4+5+2+7 = 18, divisible by both 3 and 9, so 4527 is too.
- By 5: last digit is 0 or 5.
- By 6: divisible by its co-prime factors 2 and 3 (6 = 2 × 3).
- By 12: divisible by both 3 and 4.
- For any composite, test divisibility by its co-prime factors.
- Break a composite divisor into co-prime parts and check each separately.
- e.g. 132 is divisible by 12 because it is divisible by 3 (1+3+2=6) and by 4 (last two digits 32).
- Make groups of three digits from the right.
- Take (sum of odd-placed groups) − (sum of even-placed groups).
- If that difference is divisible by 7 / 11 / 13, so is N.
- Same grouping rule works for all three primes.
- Lets you test big numbers for 7, 11 or 13 using small 3-digit chunks.
- e.g. 1001 = 7×11×13, so any 3-digit block repeated (e.g. 256256) is divisible by all three.
- Take (sum of odd-placed digits) − (sum of even-placed digits).
- If the difference is divisible by 11, the number is too.
- Quick single-digit alternating add/subtract test for 11.
- e.g. 918082 → (9+8+8) − (1+0+2) = 25 − 3 = 22, divisible by 11, so 918082 is too.
- For 13: one-more osculator 4, drop last digit, add 4 × (last digit), repeat.
- For 17: negative osculator 5, drop last digit, subtract 5 × (last digit), repeat.
- A shrink-and-repeat trick to test 13 or 17 when no other rule is handy.
- e.g. 13 itself: 1 + 3×4 = 13 → divisible by 13.
- Natural N = {1, 2, 3…}; Whole W = N ∪ {0}.
- Integers Z = {… −2, −1, 0, 1, 2 …}.
- Rational = p/q, q ≠ 0 (terminating or recurring decimals).
- Irrational = non-terminating, non-recurring (√2, √3, π).
- Complex a + ib; conjugate of a + ib is a − ib.
- Knowing which set a number lives in tells you what operations stay "closed".
- e.g. 0.75 = 3/4 is rational; √2 = 1.41421… never repeats, so it is irrational.
- A prime has exactly two factors: 1 and itself.
- Primes > 3 are of the form 6k ± 1 (converse not always true).
- 1 is neither prime nor composite; 2 is the only even prime.
- The 6k±1 form lets you scan candidates for primes quickly.
- e.g. 7 = 6×1+1 and 11 = 6×2−1 are prime; but 25 = 6×4+1 is not (converse fails).
- Pick the smallest n with n² > N.
- Check divisibility by every prime < n.
- If none divides N, then N is prime.
- You only need to test primes up to √N, not all the way to N.
- e.g. 97: √97 ≈ 9.8, test 2,3,5,7, none divides 97, so it is prime.
- Two numbers with no common factor except 1.
- 1 is co-prime to every number; two consecutive integers are co-prime.
- A prime is co-prime to all numbers except its multiples; two primes are always co-prime.
- Co-prime numbers can be tested for divisibility independently (used in rules above).
- e.g. 8 and 15 share no common factor except 1, so HCF(8,15) = 1, they are co-prime.
- Proper: value < 1 (numerator < denominator).
- Improper: value > 1 (numerator > denominator).
- Mixed: integer + proper fraction, e.g. 2¾.
- Classifying a fraction tells you at a glance whether its value is below or above 1.
- e.g. 3/5 is proper (< 1); 7/5 is improper (> 1) = mixed 1⅖.
- Any composite N can be written with distinct primes a, b, c…
- This standard form drives the factor, sum and product formulas below.
- Write any number as primes-to-powers first; every counting formula needs it.
- e.g. 360 = 2³ × 3² × 5¹.
- Add 1 to each prime's exponent and multiply.
- Count includes 1 and N itself.
- The fastest way to count all divisors of a number.
- e.g. 360 = 2³×3²×5 → (3+1)(2+1)(1+1) = 4×3×2 = 24 factors.
- If X (total factors) is even: X/2 ways.
- If X is odd: (X+1)/2 ways (N is a perfect square).
- As a product of two distinct factors: (X−1)/2 ways.
- Counts the ways to write N as (one factor) × (another factor).
- e.g. 12 has 6 factors → 6/2 = 3 ways: 1×12, 2×6, 3×4.
- A perfect square has an odd number of factors, and vice-versa.
- Use it to spot or confirm a perfect square just from its factor count.
- e.g. 100 = 2²×5² has 9 factors → expressible as a product of two numbers in 5 ways.
- e.g. 36 = 2²×3² has (2+1)(2+1) = 9 factors (odd), and 36 = 6² is a perfect square.
- Sum of all factors of N = aᵖ × bᑫ × cʳ.
- Product of all factors = N raised to (X/2), X = total factors.
- Gives the total of, or product of, every divisor without listing them.
- e.g. 12 = 2²×3 → sum of factors = (2³−1)/(2−1) × (3²−1)/(3−1) = 7 × 4 = 28 (=1+2+3+4+6+12).
- The last digit of powers repeats in a fixed cycle.
- To find a unit digit, reduce the exponent mod the cyclicity.
- Lets you find the last digit of any huge power instantly.
- e.g. 2¹⁰: cycle of 2 is 2,4,8,6 (length 4); 10 mod 4 = 2 → 2nd in cycle = 4. (2¹⁰=1024 ✓)
- For (…a1)^(…b): tens digit = last digit of (a × b); units digit = 1.
- Fast last-two-digits shortcut when the base ends in 1.
- e.g. 31¹²: a=3, b=2, a×b=6 → last two digits are 61.
- If the second-last digit of base and the power are both odd → ends in 75.
- Otherwise → ends in 25.
- One-glance rule for the last two digits of any power of a number ending in 5.
- e.g. 35³: tens digit 3 (odd) and power 3 (odd) → ends in 75. (35³ = 42875 ✓)
- Convert the base to a power that ends in 1, then use rule 18.
- e.g. 7² = 49, 7⁴ = …01 → reduce the exponent through that.
- Turn an awkward base into one ending in 1, then apply rule 18.
- e.g. 7¹²: 7⁴ ends in 01, so 7¹² = (7⁴)³ ends in 01.
- Sum the quotients of n divided by p, p², p³, … (floor each).
- Tells you the largest power of a prime that divides n! (e.g. for trailing zeros).
- e.g. power of 5 in 25! = ⌊25/5⌋ + ⌊25/25⌋ = 5 + 1 = 6.
- Split the composite into co-prime factors and find each one's power.
- The lowest of those powers is the answer.
- e.g. power of 10 in 30! = min(power of 2, power of 5) = min(26, 7) = 7.
- For a composite, the scarcest prime-power limits the answer, use it for trailing zeros.
- e.g. trailing zeros in 30! = power of 5 (the scarcer of 2 and 5) = ⌊30/5⌋+⌊30/25⌋ = 7.
- Factorisation: product of least powers of common primes.
- Division: divide larger by smaller, then divisor by remainder, repeat until remainder 0; last divisor is the HCF.
- HCF is the largest number that divides all the given numbers.
- e.g. HCF(12, 18): 12 = 2²×3, 18 = 2×3² → common least powers 2¹×3¹ = 6.
- Factorisation: product of highest powers of all primes present.
- Division: divide the row by common factors until none share a factor; multiply divisors × leftovers.
- LCM is the smallest number that every given number divides into.
- e.g. LCM(12, 18): take highest powers 2²×3² = 36.
- Reduce fractions to lowest terms first.
- How to take HCF/LCM when the quantities are fractions, not whole numbers.
- e.g. HCF(2/3, 4/9) = HCF(2,4)/LCM(3,9) = 2/9.
- For two numbers: HCF × LCM = product of the numbers.
- For n numbers: product = (HCF)ⁿ⁻¹ × LCM.
- If HCF(a,b) = H, then (a+b) and (a−b) are also divisible by H.
- Once you know one of HCF/LCM and the numbers, the other follows for free.
- e.g. a=12, b=18: HCF×LCM = 6×36 = 216 = 12×18. ✓
- Same remainder p, q, r when divided by H ⇒ H is HCF of (a−p), (b−q), (c−r).
- Constant remainder R from a, b, c ⇒ N = LCM(a,b,c)·k + R.
- If a−x = b−y = c−z = P, smallest number = LCM(a,b,c) − P.
- Handles "leaves the same / a fixed remainder" word problems via HCF or LCM.
- e.g. smallest number leaving remainder 3 by both 4 and 6 = LCM(4,6) + 3 = 15.
- Dividend = Divisor × Quotient + Remainder.
- The basic identity linking dividend, divisor, quotient and remainder.
- e.g. 17 ÷ 5: 17 = 5×3 + 2, so quotient 3, remainder 2.
- Remainders distribute across × + and −.
- Rem(a×b / c) = Rem(a/c) × Rem(b/c), then reduce again.
- Rem((a±b)/c) = Rem(a/c) ± Rem(b/c).
- Break a big product/sum into small remainders and recombine, avoids huge arithmetic.
- e.g. Rem(17×19 / 5) = Rem(2×4 / 5) = Rem(8/5) = 3.
- Write the base as (multiple of divisor ± 1) to simplify large powers.
- e.g. 15⁹⁷ / 8 = (16−1)⁹⁷ / 8 = (−1)⁹⁷ → remainder 8 − 1 = 7.
- Rewriting the base as "divisor ± 1" makes powers collapse to ±1.
- e.g. 9¹⁰⁰ / 10 = (10−1)¹⁰⁰ ≡ (−1)¹⁰⁰ = 1 (mod 10) → remainder 1.
- If M and N are co-prime and N is prime, then M^(N−1) leaves remainder 1 on division by N.
- A power-of-1 shortcut for remainders when the divisor is prime.
- e.g. 3⁶ mod 7 = 1 (since 7 prime, gcd(3,7)=1). (3⁶ = 729 = 7×104 + 1 ✓)
- For prime N, (N−1)! + 1 is divisible by N.
- A neat test/shortcut tying factorials to primality.
- e.g. N=5: (5−1)! + 1 = 24 + 1 = 25 = 5×5, divisible by 5. ✓
- aⁿ + bⁿ is divisible by (a + b) when n is odd.
- aⁿ − bⁿ is divisible by (a − b) always; also by (a + b) when n is even.
- Useful identity: if a + b + c = 0 then a³ + b³ + c³ = 3abc.
- Instantly spots a factor of expressions like aⁿ ± bⁿ.
- e.g. 3³ + 2³ = 35 is divisible by 3 + 2 = 5 (odd power). (35 = 5×7 ✓)
- Base-10: 101 = 1×10² + 0×10¹ + 1×10⁰.
- Convert base-10 → base B by repeated division by B; read remainders bottom-up.
- For base > 10, digits 10, 11, 12… are written A, B, C…
- Converts numbers between base-10 and any other base.
- e.g. 13 in base 2: 13 = 8+4+1 = 1101₂. Back: 1×8+1×4+0×2+1 = 13. ✓
Practice questions generated · up to 100
Original easy-hard warm-up drills (not CAT PYQs). Pick the levels, generate a set, reveal answers.
Factors & Divisibility, CAT PYQs
Factors & Divisibility
To decide whether a number of n digits is divisible by 7, we can define a process by which its magnitude is reduced as follows: (i₁, i₂, i₃, … , are the digits of the number, starting from the most significant digit). i₁, i₂, ……. iₙ ⇒ i₁·3ⁿ⁻¹ + i₂·3ⁿ⁻² + ……… + iₙ·3⁰. e.g., 259 ⇒ 2·3² + 5·3¹ + 9·3⁰ = 18 + 15 + 9 = 42. Ultimately the resulting number will be seven after repeating the above process a certain number of times. After how many such stages, does the number 203 reduce to 7?
- (1) 2
- (2) 3
- (3) 4
- (4) 1
Show solution
A number is formed by writing first 54 natural numbers in front of each other as 12345678910111213… Find the remainder when this number is divided by 8:
- (1) 1
- (2) 7
- (3) 2
- (4) 0
Show solution
Let N = 55³ + 17³ − 72³. N is divisible by
- (1) both 7 and 13
- (2) both 3 and 13
- (3) both 17 and 7
- (4) both 3 and 17
Show solution
Let S be the set of prime numbers greater than or equal to 2 and less than 100. Multiply all elements of S. With how many consecutive zeros will the product end?
- (1) 1
- (2) 4
- (3) 5
- (4) 10
Show solution
Let b be a positive integer and a = b² − b. If b ≥ 4, then a² − 2a is divisible by:
- (1) 15
- (2) 20
- (3) 24
- (4) None of these
Show solution
For all integers n > 0, 7⁶ⁿ − 6⁶ⁿ is divisible by
- (1) 13
- (2) 549
- (3) 127
- (4) All of these
Show solution
Let n (>1) be a composite integer such that √n is not an integer. Consider the following statements (a) n has a perfect integer−valued divisor which is greater than 1 and less than √n. (b) n has a perfect integer−valued divisor which is greater than √n but less than n. Then,
- (1) Both A and B are false
- (2) A is true but B is false
- (3) A is false but B is true
- (4) Both A and B are true
Show solution
The digits of a three digit number A are written in the reverse order to form another three digit number B. If B > A and B − A is perfectly divisible by 7, then which of the following is necessarily true?
- (1) 100 < A < 299
- (2) 106 < A < 305
- (3) 112 < A < 311
- (4) 118 < A < 317
Show solution
Let S be a set of positive integers such that every element n of S satisfies the conditions: (a) 1000 ≤ n ≤ 1200; (b) every digit in n is odd. Then how many elements of S are divisible by 3?
- (1) 9
- (2) 10
- (3) 11
- (4) 12
Show solution
Suppose, the seed of any positive integer n is defined as follows: seed(n) = n, if n < 10; = seed(s(n)), otherwise, where s(n) indicates the sum of digits of n. i.e., seed(7) = 7, seed(248) = seed(2 + 4 + 8) = seed(14) = seed(1 + 4) = seed(5) = 5 etc. How many positive integers n, such that n < 500, will have seed(n) = 9?
- (1) 39
- (2) 72
- (3) 81
- (4) 55
Show solution
If N and x are positive integers such that Nᴺ = 2¹⁶⁰ and N² + 2ᴺ is an integral multiple of 2ˣ, then the largest possible x is
Show solution
If A = {6²ⁿ − 35n − 1}, and B = {35(n − 1)}, where n = 1, 2, 3,... then which of the following is true?
- (1) Every member of A is in B and at least one member of B is not in A
- (2) Neither every member of A is in B nor every member of B is in A
- (3) Every member of B is in A
- (4) At least one member of A is not in B
Show solution
How many of the integers 1, 2, … , 120, are divisible by none of 2, 5 and 7?
- (1) 41
- (2) 42
- (3) 43
- (4) 44
Show solution
Let n be the least positive integer such that 168 is a factor of 1134ⁿ. If m is the least positive integer such that 1134ⁿ is a factor of 168ᵐ, then m + n equals
- (1) 24
- (2) 12
- (3) 9
- (4) 15
Show solution
CAT 2024 & 2025, recent
In a 3-digit number N, the digits are non-zero and distinct such that none of the digits is a perfect square, and only one of the digits is a prime number. Then, the number of factors of the minimum possible value of N is
Show solution
The number of divisors of (2⁶ × 3⁵ × 5³ × 7²), which are of the form (3r + 1), where r is a non-negative integer, is:
- (A) 42
- (B) 36
- (C) 56
- (D) 24