Numbers and Gods.
The origin of mathematics as we know it today dates back to the 6th century BC with the Pythagorean initiatic community. But mathematics existed in Mesopotamia, India and Egypt before that. The first references to advanced mathematics date back to the 3rd millennium B.C. and appear in Babylon and Egypt. For ancient traditions, numbers had been revealed by the gods to humans as a means of knowledge to reach the truth, as a tool and vehicle between heaven and earth. The priests of ancient Egypt believed that numbers were the gods themselves who showed and defined what reality was. The Egyptian god of Wisdom, Thoth, had already fixed in the beginning of time, the Proportions to harmonize with the One. Anything that did not fit or match the "measure" would be relegated to Chaos, ruled by the god Set.
The thought of the ancient sages of Egypt permeated the Greek world, and for the community of the Pythagoreans, mathematical thought was the Way to the understanding of the cosmos, to the knowledge of "the roots and sources of Nature".According to Pythagoras, the universe was governed by numbers, which besides being the tool to explore mind and matter, constituted a way to approach divinity; through the harmony of numbers the harmony of the universe would be revealed. In this way, for the primitive Pythagoreans, the order and harmony of the universe were objects of contemplation, but also a model and mirror of what human behavior should be. By means of number and its proportions man would be able to achieve such harmony. Later, Plato, convinced of the geometrical structure of the universe, replaced the arithmetical conception of the world according to Pythagoras by a geometrical one, thus Geometry gave shape to the principle that symbolizes number and began to govern the universe.