The Gaussian-School of Higher-Arithmetic (1831, updated 2022); tutorial #21 page 11a.
The Arithmetic of Clocks, page 11a.