A history of arithmetic—or how an algorithm dating from the third century BCE has endured through the ages and evolved to serve modern disciplines, particularly computer science and cryptology.