Loosely matching rhymes for modulo arithmetic