Number System – Study Notes
(Himachal Pradesh Patwari / Lekhpal – Quantitative Aptitude)
1. Simple Explanation
A number system (or numeral system) is a way of representing numbers using a set of symbols (digits) and a rule for combining them.
The most common system is the decimal system (base‑10). Other useful systems in aptitude are:
| Base | Symbol Set | Why it matters in aptitude |
|---|---|---|
| 2 | 0,1 | Binary logic, computer operations |
| 5 | 0‑4 | Problems involving “fifth” patterns |
| 8 | 0‑7 | Octal conversion, easier than decimal for some operations |
| 10 | 0‑9 | Everyday arithmetic |
| 16 | 0‑9, A‑F | Hexadecimal, quick mental checks |
Key principle – Every digit’s value depends on its place (position) and the base: [ N = d_k,b^k + d_{k-1},b^{k-1} + \dots + d_0,b^0 ] where (b) = base, (d_i) = digit at position (i).
2. Key Points to Memorise
| Concept | What to remember |
|---|---|
| Place Value | Units, tens, hundreds… In base (b), the rightmost digit is (b^0), next is (b^1), etc. |
| Converting Decimal → Other Base | Repeated division by the base; remainders give digits from right to left. |
| Converting Other Base → Decimal | Multiply each digit by its base power and sum. |
| Binary to Decimal | (1\cdot2^5 + 0\cdot2^4 + 1\cdot2^3 + 1\cdot2^2 + 0\cdot2^1 + 1\cdot2^0 = 45). |
| Octal to Decimal | Same as binary but base 8. |
| Hexadecimal to Decimal | Hex digits A‑F → 10‑15. |
| Divisibility Rules (Decimal) | 2 – even; 3 – sum of digits divisible by 3; 4 – last two digits divisible by 4; 5 – ends in 0 or 5; 6 – divisible by 2 & 3; 9 – sum of digits divisible by 9; 11 – alternating sum difference divisible by 11. |
| Divisibility in Other Bases | Apply same concept using base‑specific rules (e.g., for base‑5, check divisibility by 5 using last digit). |
| Patterns & Series | Recognise sequences that involve base conversion or repeated digits (e.g., 111₁₀ = 7₈). |
| Even/Odd Rules | In any base, a number is even if its least‑significant digit is even. |
| Sum of Digits in Any Base | Useful for checking divisibility by base‑1 (e.g., in base‑5, sum of digits divisible by 4?). |
| Power Properties | (b^n) grows fast; useful for estimating magnitudes. |
3. Worked Example
Problem
-
Convert the decimal number 156 to:
- Binary
- Octal
- Hexadecimal
-
Convert the binary number 101101 to decimal.
-
A decimal number 123 is expressed in base‑5. What is its third digit from the left?
-
Check whether 123456 is divisible by 3, 9, and 11.
-
Find the sum of the digits of the octal representation of 1234.
Solution
1. Decimal 156 → Other Bases
| Step | Binary | Octal | Hexadecimal |
|---|---|---|---|
| 156 ÷ 2 = 78, remainder 0 | |||
| 78 ÷ 2 = 39, remainder 0 | |||
| 39 ÷ 2 = 19, remainder 1 | |||
| 19 ÷ 2 = 9, remainder 1 | |||
| 9 ÷ 2 = 4, remainder 1 | |||
| 4 ÷ 2 = 2, remainder 0 | |||
| 2 ÷ 2 = 1, remainder 0 | |||
| 1 ÷ 2 = 0, remainder 1 |
Reading remainders upwards → 10011100₂.
Octal – Divide by 8:
| 156 ÷ 8 = 19, remainder 4 | | | 19 ÷ 8 = 2, remainder 3 | | | 2 ÷ 8 = 0, remainder 2 | |
→ 234₈.
Hexadecimal – Divide by 16:
| 156 ÷ 16 = 9, remainder 12 (C) | | | 9 ÷ 16 = 0, remainder 9 | |
→ 9C₁₆.
2. Binary 101101 → Decimal
[ 1\cdot2^5 + 0\cdot2^4 + 1\