Modular Arithmetic Tables

Enter a number m ≥ 2 to produce addition and multiplication tables modulo m.