ISRO Recruitment /Quantitative Aptitude

Number system

Arithmetic · free study notes

ISRO Recruitment – Quantitative Aptitude

Topic: Number System

Target audience: Advanced students preparing for ISRO (Indian Space Research Organisation) recruitment exams.
Level: MIT‑style, rigorous, from first principles to edge cases.
Structure

  1. Fundamentals (definitions, notation)
  2. Properties & theorems (primality, divisibility, modular arithmetic)
  3. Advanced topics (binary, hexadecimal, base‑conversion, Gray code, RSA‑style reasoning)
  4. Edge‑case pitfalls (negative numbers, leading zeros, non‑integer bases)
  5. Challenging problem + step‑by‑step solution

Note: All proofs are written in a concise, yet clear style suitable for self‑study or classroom lecture.


1. Foundations

1.1 Positional Notation

Let a base (b \in \mathbb{N}, b \ge 2).
An integer (N) in base (b) is represented as

[ N = \sum_{k=0}^{m-1} d_k b^k, \qquad 0 \le d_k \le b-1, ]

where the least significant digit (LSD) is (d_0) and the most significant digit (MSD) is (d_{m-1}).

  • In base (10) (decimal): digits (0–9).
  • In base (2) (binary): digits (0–1).
  • In base (16) (hexadecimal): digits (0–9, A–F).

1.2 Conversion

From base (b) to decimal:

[ N_{10} = \sum_{k=0}^{m-1} d_k b^k. ]

From decimal to base (b): repeatedly divide by (b) and record remainders.

Theorem 1 (Uniqueness).
For a fixed base (b), the representation of a non‑negative integer (N) is unique (ignoring leading zeros).
Proof. Suppose two different representations exist. Subtracting gives a non‑zero integer that is a multiple of (b^m) but less than (b^m), contradiction. ∎


2. Divisibility Rules & Modular Arithmetic

2.1 Basic Divisibility:

Divisor Rule
2 Even LSD
3 Sum of digits divisible by 3
4 Last two digits divisible by 4
5 LSD 0 or 5
6 Divisible by both 2 & 3
7 (10 × first part) − last digit divisible by 7
8 Last three digits divisible by 8
9 Sum of digits divisible by 9
11 Alternating sum of digits divisible by 11

2.2 Modulo Notation

For integers (a, m > 0), (a \equiv r \pmod{m}) means (m \mid (a-r)).
Key properties:

  • Addition: ((a+b) \bmod m = [(a \bmod m)+(b \bmod m)] \bmod m).
  • Multiplication: ((a\cdot b) \bmod m = [(a \bmod m)\cdot(b \bmod m)] \bmod m).
  • Exponentiation (Fermat's Little Theorem): If (p) prime and (\gcd(a,p)=1), then (a^{p-1} \equiv 1 \pmod{p}).

Edge case: (a) divisible by (p) gives (a^{p-1} \equiv 0 \pmod{p}).


3. Advanced Topics

3.1 Binary Arithmetic

  • Addition: Same as decimal but with carry‑over 2.
  • Subtraction: Use two’s complement: (x - y = x + (\sim y + 1)).
  • Multiplication: Shift‑and‑add; observe that (2^k) is a bit‑shift left by (k).

3.2 Hexadecimal & Octal

  • Hex to Binary: Map each hex digit to a 4‑bit binary pattern.
  • Octal to Binary: Map each octal digit to a 3‑bit binary pattern.

3.3 Gray Code

A binary numbering system where successive numbers differ by only one bit.
Conversion:

  • Binary → Gray: (G_k = B_k \oplus B_{k+1}).
  • Gray → Binary: (B_k = G_k \oplus B_{k+1}) (iteratively from MSB).

Application: Minimising errors in digital communication.

3.4 RSA‑Style Reasoning (for ISRO)

  • Encryption: (c \equiv m^e \pmod{n}).
  • Decryption: (m \equiv c^d \pmod{n}) where (ed \equiv 1 \pmod{\phi(n)}).

Typical ISRO question: Given (n = pq) where (p, q) are large primes, find (d) given (e) and (\phi(n)).


4. Edge Cases & Common Pitfalls

Situation Issue Remedy
Leading zeros Misinterpretation of base Ignore or explicitly state they are insignificant.
Negative bases Not standard; rarely used Stick to base (>0).
Non‑integer bases Rare in exams If appears, confirm it's a trick; otherwise ignore.
Modulo with negative numbers Sign convention differs Use ((a \bmod m) = ((a % m)+m)%m).
Large exponents Overflow Use modular exponentiation (square‑and‑multiply).

5. Challenging Problem (ISRO‑Style)

Problem:
Let (N) be a 12‑digit decimal number such that:

  1. The sum of its digits is 54.
  2. The number is divisible by 9 and by 11.
  3. When (N) is written in base 2, it has exactly five 1‑bits.

Find the smallest possible value of (N).


5.1 Solution Outline

  1. **Divisibility by 9 & 11 → Divisible by 99.

Your note

Page 1

Doubt hai is topic me?

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