Ideally, a numeral system will: * Represent a useful set of numbers (e.g. all integers, or rational numbers) * Give every number represented a unique representation (or at least a standard representation) * Reflect the algebraic and arithmetic structure of the numbers.
b - numeral system base dn - the n-th digit n - can start from negative number if the number has a fraction part.
N+1 - the number of digits
Base (Radix):- The total number of distinct symbols used by a number system called base or radix.
E.g.: Decimal number system uses ten distinct symbols: 0,1,2,3,4,5,6,7,8,9.
Decimal number system:-
The decimal numeral system (also called base ten or occasionally denary) has ten as its base. It is the numerical base most widely used by modern civilizations.[1][2]
Decimal notation often refers to a base-10 positional notation such as the Hindu-Arabic numeral system
Decimal number system uses ten distinct symbols: 0,1,2,3,4,5,6,7,8,9.
Binary number system:-
In mathematics and computer science, the binary numeral system, or base-2 numeral system, represents numeric values using two symbols: 0 and 1. More specifically, the usual base-2 system is a positional notation with a radix of 2. Numbers represented in this system are commonly called binary numbers. Because of its straightforward implementation in digital electronic circuitry using logic gates, the binary system is used internally by almost all modern computers and computer-based devices such as mobile phones.
E.g.
101012 = 10101B = 1×24+0×23+1×22+0×21+1×20 = 16+4+1= 21
101112 =