# Artificial Intelligence

## The History of Numbers

To understand AI, it is important to understand the concept of Numbers and Counting.

## AI is About Numbers

Artificial Intelligence is all about **Numbers**.

Numbers are easy to understand: 1,2,3,4,5 ... 11,12,13,14,15.

Studies of animals indicates that even animals can understand some numbers:

- 2 Wives
- 8 Sons
- 5 Eggs

The need for numbers in the modern world is absolute. We cannot live without numbers:

- 100 Dollar
- Pi = 3.14
- 365 Days
- 25 Years
- 20% Tax
- 100 Miles

## AI is About Counting

The concept of numbers leads to the concept of counting.

Imagine prehistoric thinking:

- How to count apples?
- How to weigh corn?
- How to pay?
- How far is the ocean?

Artificial Intelligence is a result of the human need for calculations.

Counting is easy to understand: 2 + 2 = 4.

Studies of animals indicates that animals can only understand very simple counting.

How do Homo Sapiens deal with calculations?

Complex calculations are done by computers.

"Yes! Computers can be smarter than humans."

## Two Babylonian Scientists

About 6000 Years ago ...

Two Babylonian scientists were talking:

Scientist 1: "We need to invent a number system".

Scientist 2: "What?".

Scientist 1: "We need to give every number a name".

Scientist 2: "You mean like 1, 2, and 3".

Scientist 1: "Exactly!".

Scientist 2: "But why?".

Scientist 1: "How can I tell you I have 7 sons, if you don't know what 7 is?

Scientist 2: "Every number should have a name?".

Scientist 1: "Exactly!".

Scientist 2: "So, how many numbers do we need? 15?".

Scientist 1: "More. Some people have more than 15 sons".

Scientist 2: "Ok. 30 then. Just to be sure".

Scientist 1: "But people older than 30 should be able to tell their age".

Scientist 2: "Ok. 60 then".

## Babylonian Numbers (Base 60)

We believe that the Babylonians started the development of complex counting.

The Babylonian number system has 60 different digits. It is a **Base 60** system:

1,5 means 1 times 60, plus 5 (65)

3,30 means 3 times 60, plus 30 (180 + 30 = 210)

The Babylonians had a place-value system, where the digits to in the left represented full values, much like our decimal system.

The reason why the Babylonians used 60 as the base, was (we like to believe) that 60 is divisible with most numbers: 1,2,3,4,5,6,10,12,15,20,30, and 60.

The downside was that the user had to remember 60 different digits. But the system was smart. A lot of it is still in use today:

What | We | Them | Why |
---|---|---|---|

A full circle | 360° | 4 | 6 x 60 = 360 |

Half a circle | 180° | 2 | 3 x 60 = 180 |

One Hour | 60° | 1 | 1 x 60 = 60 minutes |

## Roman Numbers (Base 10)

Roman numbers originated in Rome and was used in Europe into the Middle Ages.

Symbol: | I | V | X | L | C | D | M |

Value: | 1 | 5 | 10 | 50 | 100 | 500 | 1000 |

The Romans used a **Base 10** system.
Possibly because they used their 10 fingers to count.

Today, most of the world use a **Base 10** number system:

Western numbers, Chinese numbers, Brahmi numbers, Greek numbers, Hebrew numbers...

5 means 5

50 means 5 times 10

500 means 5 times 100

57 means 5 times 10, plus 7

75 means 7 times 10, plus 5

## Digital Numbers (Base 2)

Humans can count with base 10 numbers, computers can not.

Electricity cannot count. Electricity can only be On and Off.

Computers use Electricity or Magnetism to represent On and Off.

Computers use **Digital Numbers** like 11100110 (in contrast to **Base 10 Numbers** like 230).

Digital numbers like 11100110 are also called **Binary Numbers**.

You will learn more about digital computers in the next chapter.