First of all, ancient mathematics is divided into two systems: the West and the East. Oriental research figures, western research forms.
In the East, mathematics is used in practical production, which is based on experience and has certain practical significance. The west is purely metaphysics, so at that time, the distribution of buildings, places of worship and ritual vessels, including sculptures and paintings, used by westerners was very high because of their perspective, while the orientals basically engaged in trade and the like.
Second, each country has its own calculation method, including the decimal difference, including 10 decimal, 16 decimal, 24 decimal and 60 decimal. So in ancient times, mathematics was only in its infancy, and there was no systematic combination and unity.
But this period also has a good side. The East, led by India, invented the present Indian number to count, and used the present position to count. Indian numbers are usually Arabic numbers. Hehe, they are not Arabs. The west, led by Greece, has formed a good research and development.
Generally speaking, I think the foundation of ancient mathematics was completed by India and Greece.