Clocks and Mathematics