Compute a mod n — the remainder when a is divided by n.
Remix "Modular Arithmetic" into your own editable copy — tweak it, share it, make it yours.