Historians have nothing to do with the idea that history repeats itself. Yet some mathematicians see clear patterns in historical developments. It is even possible to extend the patterns into the future.