Numbers

INFO

The mathematical values or figures used for the purpose of measuring or calculating quantities. It is represented by numerals as 1, 3, 9, etc. It consists of different range of numbers too Number Sets

Number System

INFO

Also known as “numeral system” is defined as an elementary system to express numbers and figures. The unique way of representing of numbers in arithmetic and algebraic structure.


Types of Number Systems

NOTE

All the number systems follow the follow rule for generating the values in their system:

Each digit in the number is at a specific place with a place value multiplied to a power of the base →

Decimal Number System

  • base value of 10
  • use digits 0-9 → Our daily used number system

Binary Number System

  • base value of 2
  • use digits 0 or 1 → useful in computer science due to the easy performance using 2 states (ON / OFF)

Octal Number System

  • base value of 8
  • use digits 0-7 → useful in representation of UTF8 Numbers

Hexadecimal Number System

  • base value of 16
  • use digits 0-9 and letters A-F → useful in handling memory address locations

Roman Number System

  • Ancient number system used in ancient Rome
  • based on a combination of letters from the Latin alphabet to represent numbers
SymbolValueSymbolValueSymbolValue
I1X10C100
II2XX20CC200
III3XXX30CCC300
IV4XL40CD400
V5L50D500
VI6LX60DC600
VII7LXX70DCC700
VIII8LXXX80DCCC800
IX9XC90CM900
X10C100M1000

Rule of Roman Number

  • The symbols I, X, C, M can be repeated up to 3 times in a row
  • When a smaller value symbol appears before a larger value symbol, the smaller value is subtracted
  • When a smaller value symbol appears after a larger value symbol, the smaller value is added

Resource

How many types of number systems are there? - GeeksforGeeks