Cox, N.J., "Remainders, selections, sequences, extractions: uses of the modulus.", The Stata Journal, 2025