Mathematics: A Concise History and Philosophy