Nagaland Police Constable /Quantitative Aptitude

Number system

Arithmetic · free study notes

📚 Study Notes – Number System

(Quantitative Aptitude – Competitive Exams: IIT‑JEE, NPTEL, JEE‑Advanced, etc.)

Goal – Master the number system to solve any exam problem involving integers, fractions, decimals, modular arithmetic, and base‑conversions with confidence.


1. Core Concepts

Concept Key Idea Quick Formula / Property
Integers Set ℤ = { …, –3, –2, –1, 0, 1, 2, 3, … } a + b ∈ ℤ, a·b ∈ ℤ
Rationals Numbers that can be written as p/q where p, q ∈ ℤ, q ≠ 0 p/q = (p·k)/(q·k)
Decimals Representations of rationals in base 10; terminating or repeating 0.333… = 1/3
Prime Numbers Positive integers > 1 with only two divisors `p
GCD / LCM gcd(a,b) = largest integer dividing both; `lcm(a,b) = ab
Modular Arithmetic a ≡ b (mod n) if `n (a-b)`
Euler’s Theorem If gcd(a, n)=1, then a^φ(n) ≡ 1 (mod n) φ(n) = Euler totient
Pythagorean Triples Integers a,b,c with a²+b²=c² a = m²-n², b = 2mn, c = m²+n² (m>n)
Base‑Conversion Convert numbers between bases 2, 8, 10, 16 Use repeated division / multiplication

2. Derivations & Theorems

2.1 Divisibility Rules (Use in Quick Checks)

Divisor Rule
2 Last digit even
3 Sum of digits divisible by 3
4 Last two digits form a number divisible by 4
5 Last digit 0 or 5
6 Divisible by 2 and 3
7 Double the last digit, subtract from remaining truncated number; repeat
9 Sum of digits divisible by 9
11 Alternating sum of digits divisible by 11
12 Divisible by 3 and 4

Derivation example (3):
Let N = d_k·10^k + … + d_1·10 + d_0.
Since 10 ≡ 1 (mod 3), each power of 10 is ≡ 1.
Thus N ≡ d_k + … + d_0 (mod 3).
So N is divisible by 3 iff its digit sum is.

2.2 Base‑n Representation

Theorem – Every integer N ≥ 0 can be represented uniquely in base b (b ≥ 2) as
N = Σ_{i=0}^{k} a_i b^i where 0 ≤ a_i < b.

Proof Sketch
Repeated division:
N = q_1·b + a_0 with 0 ≤ a_0 < b.
q_1 = q_2·b + a_1.
Continue until q_k = 0.
The digits are a_0, a_1, …, a_k. ∎

2.3 Modular Arithmetic & Euler’s Theorem

Euler’s Theorem (generalization of Fermat’s little theorem)

If gcd(a, n) = 1, then a^φ(n) ≡ 1 (mod n) where φ(n) is Euler’s totient.

Proof Outline

  • Consider the set S = {x ∈ ℤ : 1 ≤ x ≤ n, gcd(x, n)=1}.
  • Multiplication by a permutes S modulo n (bijection).
  • Hence, product of all elements of S ≡ product of their images ≡ a^{φ(n)} (mod n).
  • Since product of S ≡ ∏_{x∈S} x ≡ 1 (mod n), we get a^{φ(n)} ≡ 1. ∎

3. Common “Tricky” Points

Problem Pitfall Fix
Large Exponentiation Forgetting to reduce intermediate results modulo n. Use repeated squaring & modular multiplication.
Fraction to Decimal Assuming “terminating” when the denominator’s prime factors are only 2 & 5. Check denominator after reducing; if any other prime factor → repeating.
Divisibility by 9 vs 3 Confusing sums of digits for 9 when numbers are very large. Use modulo 9 property: sum digits modulo 9.
Base Conversion Mixing up order of digits (most significant vs least). Write remainders from last division to first.
Least Common Multiple Mistakenly adding numbers instead of multiplying/dividing by gcd. Use `lcm(a,b)=
Prime Factorization Over‑factoring composite numbers (e.g., 49 = 7², not 3·something). Quick test: square root ≤ 7 gives prime check.
Cyclic Patterns Ignoring cycles in powers of numbers modulo `n

Your note

Page 1

Doubt hai is topic me?

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