Here's a pretty detailed answer.....http://en.wikipedia.org/wiki/History_of_mathematics
{Spoiler Alert.....nobody really knows}
Good, I expect you will know where Mr Google lives.
If you don't then maybe that is a better question.
Here's a pretty detailed answer.....http://en.wikipedia.org/wiki/History_of_mathematics
{Spoiler Alert.....nobody really knows}