Gujarat Police Constable /Quantitative Aptitude

Number system

Arithmetic · free study notes

📚 Number System – Study Notes (IIT‑JEE / Competitive Exam Focus)

Audience – Students preparing for IIT‑JEE, JEE‑Mains, GATE, UPSC, and Gujarat Police Constable Quantitative Aptitude.
Goal – Grasp the core ideas, prove the key formulas, recognise “tricky” patterns, and practice a challenging problem.


1. Core Definitions

Term Symbol Meaning
Integer (\mathbb Z) All whole numbers, positive, negative, and 0.
Natural number (\mathbb N) (1,2,3,\dots) (sometimes includes 0).
Prime (p) (p>1) with exactly 2 distinct positive divisors: 1 and (p).
Composite (n>1) not prime.
Factor (d\mid n) Integer dividing (n) exactly.
Multiple (n\mid m) (m = kn) for some integer (k).
Greatest Common Divisor (\gcd(a,b)) Largest integer dividing both (a) and (b).
Least Common Multiple (\operatorname{lcm}(a,b)) Smallest positive integer divisible by both.
Modulus (a\bmod m) Remainder of (a) upon division by (m).
Congruence (a\equiv b \pmod m) (m\mid(a-b)).
Residue class ([a]_m) Set of all integers congruent to (a) mod (m).
Euler’s Totient (\phi(n)) Count of integers (\le n) coprime to (n).
Multiplicative inverse (a^{-1}\pmod m) Integer (x) with (ax\equiv1\pmod m).

2. Divisibility Rules (Quick Reference)

Base Rule
2 Even → last digit even.
3 Sum of digits ≡ 0 (mod 3).
4 Last 2 digits ≡ 0 (mod 4).
5 Last digit 0 or 5.
6 Divisible by 2 and by 3.
7 (Double last digit, subtract from remaining truncated part) ≡ 0 (mod 7).
8 Last 3 digits ≡ 0 (mod 8).
9 Sum of digits ≡ 0 (mod 9).
10 Last digit 0.
11 (Sum of odd‑place digits – sum of even‑place digits) ≡ 0 (mod 11).
12 Divisible by 3 and by 4.

Tricky Point – For 7, 13, 17, 19, 23, etc., the “double‑subtract” trick works only once. Repeating it can overflow the bounds; reduce intermediate results modulo the divisor to keep numbers small.


3. Fundamental Theorems & Useful Identities

3.1 Euclidean Algorithm (GCD)

For (a,b\in\mathbb Z), (a\ge b\ge0):

[ \gcd(a,b)=\gcd(b,,a\bmod b) ]

Proof Sketch
If (d\mid a) and (d\mid b) then (d\mid a-b). Repeating gives (d\mid a\bmod b). Conversely, any common divisor of (b) and (a\bmod b) divides (a). ∎

3.2 Fundamental Theorem of Arithmetic

Every integer (n>1) can be expressed uniquely (up to order) as a product of primes:

[ n = p_1^{k_1}p_2^{k_2}\dots p_r^{k_r} ]

Utility – GCD and LCM via prime exponents:

[ \gcd(a,b)=\prod p_i^{\min(k_i,l_i)},\qquad \operatorname{lcm}(a,b)=\prod p_i^{\max(k_i,l_i)} ]

3.3 Euler’s Theorem

If (\gcd(a,n)=1), then

[ a^{\phi(n)} \equiv 1 \pmod n ]

Special case: For prime (p), (\phi(p)=p-1) → Fermat’s Little Theorem:

[ a^{p-1}\equiv1\pmod p ]

3.4 Wilson’s Theorem

A natural number (p>1) is prime iff

[ (p-1)! \equiv -1 \pmod p ]

Proof Idea – Pair each (k) with its inverse modulo (p); only (1) and (p-1) are self‑inverse, giving (-1).

3.5 Chinese Remainder Theorem (CRT)

If (m_1,m_2,\dots,m_k) are pairwise coprime, then the system

[ x \equiv

Your note

Page 1

Doubt hai is topic me?

Free AI teacher se poocho — 24/7, step by step.