There are many number systems in Mathematics and Computer science but 4 among them are the most recognized. This post briefly discusses about these 4 number systems.

*Brief structure*

*Brief structure*

Sl Number | System | Base | Numbers used |

1 | Binary | 2 | 0, 1 |

2 | Octal | 8 | 0, 1,2,3,4,5,6,7 |

3 | Decimal | 10 | 0, 1,2,3,4,5,6,7,8,9 |

4 | Hexadecimal | 16 | 0, 1,2,3,4,5,6,7,8,9,A(value 10), B(value 11), C(value 12), D(value 13), E(value 14), F (value 15) |

But how to write numbers in each system?

Consider a number…. umm… 42.How to write it? Wait, let’s check. We write the number using it’s place value in all the system.

Ok, 1st write 42 in decimal. 42 = 4×10^1 + 2×10^0(remember, the rightmost place's value is base^0 and the power increases as we move left.. The face value of the digit is multiplied with the value of the place to get place value). So the number 42 in decimal is (42)_{10}. Now in binary form 42 = 1×2^5 +0×2^4+ 1×2^3 + 0×2^2+1×2^1+0×2^0. So the number 42 in binary is (101010)_{2}. Now in octal. 42 = 5×8^1 + 2×8^0. So the number 42 in octal is (52)_{8}. Now in hexadecimal, 42 = 2×16^1+10×16^0. But the value of 10 denoted by A. So, 42 in hexadecimal is (2A)_{16}

But this system takes time during converting from systems except decimal. Is there any solution? Yes, there is, but that we will post later.

stay home stay safe,

arka🙃