Modulo Calculator Using Tkinter Library

EasyChair Preprint no. 7578

4 pagesDate: March 17, 2022

Abstract

Modular arithmetic is a branch of mathematics that uses the "mod" feature. Let's imagine we're dividing two integers, A and B. When we divide A by B, we are sometimes simply interested in the leftover, i.e. the remainder. There is a modulo operator that can be used in these situations (abbreviated as mod). The computation of "mod" of expressions is the focus of modular arithmetic. Expressions can contain digits as well as addition, subtraction, multiplication, division, and other computational symbols. In this project, we are basically making a modulo calculator, which performs arithmetic operations modulo p over a given math expression. While you may still use this modulo calculator to determine the remainder of Euclidean division by a specific modulus by entering an integer value, it can do a lot more. You can also enter a math expression involving other integers as well as a variety of modular arithmetic operations like addition, multiplication, division, subtraction, exponentiation, and so on. All procedures will be performed with a modulus in mind. Clock arithmetic is another name for modular arithmetic. This is because, much as a clock resets to zero at midnight, the number resets itself each time the modulus, or mod, is reached, causing it to wrap around the modulus.

Keyphrases: Addition-Subtraction, Arithmetic Mathematics, clock arithmetic, discrete logarithm, division square, exponentiation, factorization, LCM, MOD, modular arithmetic, module, module inverse, modulo, modulo calculator, Modulus, multiplication, Primality, remainder, root GCD, XOR