Knowledge / Placement essentials (aptitude, reasoning, verbal, communication, interviews, Excel, workplace) / Number system and divisibility

Number system and divisibility

Placement essentials (aptitude, reasoning, verbal, communication, interviews, Excel, workplace) (All) · Quantitative aptitude · free study notes for exams, placements and interviews

In short

The number system is the foundation layer of quantitative aptitude: how integers are classified, how they factorise into primes, and what remainder they leave on division. Divisibility rules, HCF/LCM, unit-digit cyclicity and remainder theorems turn questions that look like heavy computation into two-line mental work. Almost every Indian recruitment test — TCS NQT, Infosys, Wipro NLTH, Capgemini, Accenture, Cognizant, IBPS/SBI PO, SSC CGL, RRB, CAT/XAT — opens with two or three questions from this area, and GATE CS tests the same ideas formally as modular arithmetic and number bases in Discrete Mathematics. On the job the same arithmetic appears in checksum digits (Aadhaar, GSTIN, ISBN, card numbers), hash buckets, cyclic schedules and batch-size calculations.

Explained

Classification of numbers and place value

Divisibility rules and why they work

DivisorRuleCheck
2Last digit even4,738 ✓
3Digit sum divisible by 34,738 → 22 ✗
4Last two digits divisible by 44,738 → 38 ✗
5Ends in 0 or 54,735 ✓
6Divisible by 2 and 34,734 ✓
7Drop the last digit, subtract twice it; repeat1,729 → 172 − 18 = 154 → 15 − 8 = 7 ✓
8Last three digits divisible by 84,736 → 736 = 8 × 92 ✓
9Digit sum divisible by 94,734 → 18 ✓
11Alternating digit sum divisible by 114,832,718 → 11 ✓
12Divisible by 3 and 44,704 ✓
13Drop the last digit, add 4 times it; repeat1,729 → 172 + 36 = 208 → 20 + 32 = 52 ✓
16Last four digits divisible by 161,00,048 → 0048 ✓
25 / 125Last two digits 00/25/50/75; last three divisible by 1253,375 ✓

Division algorithm, remainders and successive division

Factors, HCF and LCM

Unit digits, cyclicity and powers

Factorials, trailing zeros and the highest power of a prime

Remainder theorems for powers

Key points

Formulas and examples

Dividend = Divisor × Quotient + Remainder, with 0 ≤ Remainder < Divisor
N = p₁a · p₂b · p₃c → number of factors d(N) = (a + 1)(b + 1)(c + 1)
Sum of factors σ(N) = [(p₁a+1 − 1)/(p₁ − 1)] × [(p₂b+1 − 1)/(p₂ − 1)] × …
Product of all factors = Nd(N)/2; ways to write N as a product of two factors = d(N)/2 (= (d+1)/2 if N is a perfect square)
Ways to write N as a product of two co-prime factors = 2k−1, k = number of distinct prime factors
φ(N) = N(1 − 1/p₁)(1 − 1/p₂)… (count of co-primes below N); sum of those co-primes = N·φ(N)/2
HCF(a, b) × LCM(a, b) = a × b (two numbers only)
HCF of fractions = HCF(numerators)/LCM(denominators); LCM of fractions = LCM(numerators)/HCF(denominators)
Highest power of prime p in n! = ⌊n/p⌋ + ⌊n/p²⌋ + ⌊n/p³⌋ + …
Euler: aφ(N) ≡ 1 (mod N) if HCF(a, N) = 1; Fermat: ap−1 ≡ 1 (mod p), p prime; Wilson: (p − 1)! ≡ −1 (mod p)
Σn = n(n+1)/2; Σn² = n(n+1)(2n+1)/6; Σn³ = [n(n+1)/2]²
Number of digits in x = ⌊log₁₀ x⌋ + 1

Example 1 - unit digit of 7⁹⁵ + 3⁵⁸ + 4³³

Example 2 - the full factor profile of 1080

Example 3 - five remainder problems

Example 4 - HCF and LCM word problems

Example 5 - factorials and bases

QuantityFormulaFor N = 720 = 2⁴·3²·5
Number of factors(a+1)(b+1)(c+1)5 × 3 × 2 = 30
Sum of factors∏(pa+1−1)/(p−1)31 × 13 × 6 = 2,418
Even factorsa × (b+1)(c+1)4 × 6 = 24
Perfect-square factorscount even exponents3 × 2 × 1 = 6
Co-primes below N, φ(N)N∏(1 − 1/p)720 × ½ × ⅔ × ⅘ = 192

Where it is used

Interview questions

Common mistakes

Related topics

Simplification and approximation · Squares, cubes, roots and surds · Problems on ages and numbers · Algebra: linear and quadratic equations · Progressions and logarithms · Permutations and combinations

Open in the Knowledge reader →Find jobs →