Looking at History Through Mathematics.