Bases System SLM
Bases System SLM
The numbers that we commonly use are the decimal number. The system is called the decimal
system. Why is it called the decimal system ? It is because it has 10 symbols – 0 , 1 , 2 , 3 , 4 , 5 ,6 , 7 ,
8,9.
In this article, we will learn about other bases, how to express various numbers in such bases and
questions according to CAT, XAT and OMETs.
For example
So, depending on the number of digits in the base system, there are many other systems possible.
Have a look at the following table:
Number
Base Symbol
system
Binary 2 0,1
Septenary 7 0,1,2,3,4,5,6
Octal 8 0,1,2,3,4,5,6,7
Decimal 10 0,1,2,3,4,5,6,7,8,9
Duo-
12 0,1,2,3,4,5,6,7,8,9,A,B
decimal
Hexa-
16 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F
decimal
n the questions involving base systems, we are expected to figure out the different number of digits
in that system of counting.
For example: If we had 7 digits instead of 10 ie. 0 ,1 ,2 ,3 ,4 ,5 , 6 , we will have system of counting as
follows : 0 , 1, 2 ,3 , 4 5 ,6 , 10 , 11 , 12 ,13 , 14… .
1. Decimal to Binary
a.) (172)10
b.) (28.3125)10
(28)10 = (11100)2
iii.) Multiply the decimal part with 2 successively and take the integral part of all the products
starting from the first.
(28.3125)10 = (11100.0101)2
NOTE: We should stop multiplying the factorial part by 2, once we get 0 as a fraction or the
fractional part is non-terminating. It can be decided depending on the number of digits in the
fractional part required.
2. Binary to Decimal
a. (110101)2
b. (0.11001)2
3. Decimal to Octal
a. (4324.235)10
i. Integral part
(4324)10 = (10344)8
(4324.235)10 = (10344.170)8
4. Octal to Decimal
a. (677.47)8
5. Binary to Octal
8 (octal) is cube of 2 (binary). So, to convert binary to octal we just need to club three digits of binary
number starting from unit digit and write the decimal equivalent of each group.
(We can introduce two zeroes to form groups of 3 without changing the magnitude of the number)
One method of performing arithmetic operations is to first convert the numbers to decimal system,
perform the required operations and then convert the numbers back to required base.
However arithmetic operations can also be directly done given that numbers are expressed in the
same base.
Addition –
1. (8358)10 + (5684)10
Carry over 1 1 1
8 3 5 8
+ 5 6 8 4
1 4 0 4 2
(quotient (Remainder (Remainder (Remainder (Remainder
when 14 is when 14 is when 10 is when 14 is when 12 is
divided by divided by divided by divided by divided by
10) 10) 10) 10) 10)
LOGIC –
1. Start from unit position; 8+4=12, and 12 when divided by 10 (base) gives us remainder as 2,
which is the total for that column. 12 when divided by 10 gives us quotient as 1 which is
carried over to next column.
2. In second column, 1+5+8=14. When 14 is divided by 10 (base), we get 4 as remainder (total
for that column) and 1 as quotient which is carried over to next column.
3. In third column, 1+3+6=10. 10 when divided by 10 gives us 0 as remainder and 1 as quotient.
We proceed in similar and get the required sum.
2. (3542)6 + (4124)6
Carry over 1 1 1
3 5 4 2
+ 4 1 2 4
1 2 1 1 0
SUBTRACTION –
1. (237)10 – (199)10
-1 -1+10 +10
2 3 7
– 1 9 9
0 3 8
Logic –
1. In units place 7<9, hence we borrow 10 (base) from tens place. 17-9=8
2. Tens place reduces from 3 to 2. Still 2<9, hence we borrow 10 (base) from hundreds place.
12-9=3
3. Hundreds place reduces to 1 (as we borrowed from it in earlier step). 1-1=0
2. (422)5 – (243)5
-1 -1+5 +5
4 2 2
– 2 4 3
1 2 4
(422)5 – (243)5 = (124)5
MULTIPLICATION –
Using the analogy of base 10, we can multiply in other bases too
1. (346)7 * (4)7
Carry over 2 3
3 4 6
+ 4
2 0 5 3
2. (76)8 * (45)8
7 6
* 4 5
4 6 6 Row obtained by
(76)8*(5)8
+ 3 7 0 x Row obtained by
(76)8*(4)8
1) Is (7364)9 divisible by 8?
Solution- The logic behind this question is same as checking the divisibility of any number (in decimal
system) by 9. We add the digits and then check the divisibility.
7+3+6+4=20 which is not divisible by 8. Hence, the given number is not divisible by 8
RULE- (x)b is divisible by (b-1) if all the digits of (x)b add up to be divisible by (b-1).
Solution- The logic behind this question is same as checking the divisibility of any number (in decimal
system) by 11. We first find the sum of alternate digits and then find the difference of the sums
obtained. This difference should either be divisible by 0 or divisible by 11(or 10 in the case of this
question).
5+3=8; 2+6=8
RULE- (x)b is divisible by (b+1) if the difference of the sums of alternate digits of (x) b is either 0 or
divisible by (b+1).
Thus IGP= 1. As the highest power of 9 with which the number is divisible is 1
RULE- For a number in base b, if there are k zeroes in the end then it is divisible by b k. Also, k is the
IGP of b in the number.
EXAMPLES:
1) Let a, b, c be distinct digits. Consider a two-digit number ‘ab’ and a three-digit number ‘ccb’,
both defined under the usual decimal number system, if (ab)2 = ccb > 300, then the value of b is?
(CAT 1999)
Solution– b=1
(ab)2 = ccb, the greatest possible value of ‘ab’ can be 31, since 312 = 961 (and since ccb > 300), 300 <
ccb < 961, so 18 < ab < 31.
So the possible value of ab which statisfies (ab)2 = ccb is 21. So 212 = 441, ∴ a = 2, b = 1, c
3) In a number system the product of 44 and 11 is 1034. The number 3111 of this system, when
converted to the decimal number system, becomes? (XAT 2001)
(4n+4)(n+1)= n3+3n+4
=> n3-4n2-5n=0
=> n(n-5)(n+1)=0
n=5
(3111)5 = (406)10