Mathematical Thinking and Tools through the Ages