Babylonians solved the first quadratic equation in about 1950 BC.
The abacus was developed in the Middle East and areas around the Mediterranean in about 3000 BC.