Positional number systems

Number system is a way of writing numbers using certain characters.

Let’s look at the most common positional systems – depending on the location (digit) in the notation of the number, the same sign has different meanings.

Integer “X” in the positional number system can be expressed as follows:

Positional number systems

  • b – base of the system
  • ak are the digits of the number (0 ≤ ak ≤ b-1)
  • k – number of digits

An expanded form of writing an integer:

Positional number systems

Content

Binary number system: base – 2

Used in discrete mathematics, computer science and programming. Contains only two digits – 0 and 1. The number written in this system is indicated by the letter B at the end (prefix).

examples:

  • 101012 = 10101B = 1×24+ 0 × 23+ 1 × 22+ 0 × 21+ 1 × 2= 16+4+1= 21
  • 101112 = 10111B = 1×24+ 0 × 23+ 1 × 22+ 1 × 21+ 1 × 2= 16+4+2+1= 23
  • 1000112 = 100011B = 1×25+ 0 × 24+ 0 × 23+ 0 × 22+ 1 × 21+ 1 × 2=32+2+1= 35

Octal number system: base – 8

Eight digits are used to write a number – from 0 to 7.

examples:

  • 278 = 2 × 81+ 7 × 8= 16+7 = 23
  • 308 = 3 × 81+ 0 × 8= 24
  • 43078 = 4 × 83+ 3 × 82+ 0 × 81+ 7 × 80= 2247

Decimal number system: base -10

The most common system that is used everywhere. Contains numbers from 0 to 9.

Example:

253810 = 2 × 103+ 5 × 102+ 3 × 101+ 8 × 100

Hexadecimal number system: base – 16

Numbers from 0 to 9 are used, as well as letters from A to F. Numbers are denoted by a prefix H. The system is used in computer science and programming.

examples:

  • 2816 = 28H = 2×161+ 8 × 16= 40
  • 2F16 = 2FH = 2×161+ 15 × 16= 47
  • BC1216 = BC12H = 11×163+ 12 × 162+ 1 × 161+ 2 × 160= 48146

Table of correspondence of numbers of number systems


система» style=»min-width:24.6711%; width:24.6711%;»>Двоичная

система

0000
1111
21022
31133
410044
510155
611066
711177
81000108
91001119
10101012A
11101113B
12110014C
13110115D
14111016E
15111117F
16100002010
17100012111
18100102212
19100112313
20101002414
21101012515
22101102616
23101112717
24110003018
25110013119
2611010321A
2711011331B
2811100341C
2911101351D
3011110361E
3111111371F
321000004020

Leave a Reply