If there is one prayer that you should pray/sing every day and every hour, it is the
LORD's prayer (Our FATHER in Heaven prayer)
- Samuel Dominic Chukwuemeka
It is the most powerful prayer.
A pure heart, a clean mind, and a clear conscience is necessary for it.
Glory to God in the highest; and on earth, peace to people on whom His favor rests!
- Luke 2:14
The Joy of a Teacher is the Success of his Students.
- Samuel Dominic Chukwuemeka
Modular Arithmetic and Algorithms Calculators
I greet you this day,
You may use these calculators to check your answers.
You are encouraged to solve the questions first, before verifying your answers with the calculators.
I wrote the codes for these calculators using Javascript, a client-side scripting language. Please use
the latest Internet browsers. The calculators should work.
Comments, ideas, areas of improvement, questions, and constructive criticisms are welcome.
You may contact me.
If you are my student, please do not contact me here. Contact me via the school's system.
Thank you.
Samuel Chukwuemeka (Samdom For Peace) B.Eng., A.A.T, M.Ed., M.S
Convert Number Systems
- Not valid for numbers with decimal points/places.
- For base two, please enter only 0's and 1's.
- For base three, please enter only 0's, 1's, and 2's.
- For base four, enter only 0's, 1's, 2's, and 3's; and so on and so forth.
Number Systems Arithmetic
Add, Subtract, Multiply, and Divide Number Systems
- Not valid for numbers with decimal points/places.
- For base two; please enter only 0's and 1's for the number, and 2 for the base.
- For base three; please enter only 0's, 1's, and 2's for the number, and 3 for the base.
- For base four; enter only 0's, 1's, 2's, and 3's for the number, and 4 for the base.
- The calculation is done for two numbers and two systems at a time.
- Enter the two numbers and the two systems first.
- Then, select the base for which you want the answer to be in.
- Click on the arithmetic operation you want.
Division
Modulo
Greatest Common Divisor
Greatest Common Divisor of an Array
Least Common Multiple
Least Common Multiple of an Array
Modular Inverse
Extended Euclidean Algorithm
GCD and Bezout's Coefficients
- This calculator returns an array of three answers
- The first answer is the GCD
- The other 2 answers are the Bezout's Coefficients
Linear Congruence
Solve for the variable
System of Linear Congruences
Solve for the variable
These calculators are for Relatively Prime Moduli only where:
(1.) each modulo is a positive integer greater than $1$
(2.) the coefficient of the variable is $1$
If the coefficient of the variable is not equal to $1$, divide both sides (do not include the modulo)
by the coefficient of the variable. This works for relatively prime moduli.
-
Given: a set of 2 linear congruences where the coefficient of the variable is $1$
To Find: the value of the variable
-
Given: a set of 3 linear congruences where the coefficient of the variable is $1$
To Find: the value of the variable
-
Given: a set of 4 linear congruences where the coefficient of the variable is $1$
To Find: the value of the variable
-
Given: a set of 5 linear congruences where the coefficient of the variable is $1$
To Find: the value of the variable
Modular Exponentiation
Check Digit for ISBN
$\boldsymbol{Example\:1}$ Calculate the check digit of the $ISBN-10: $
Check Digits Calculators
These calculators will not allow you to:
(1.) Type a negative number.
(2.) Type more than a single digit in each text box.
(3.) Delete place holders.
Calculate the Check Digit of an ISBN-10
Given: The 9 Digits of a 10-Digit ISBN
To Find: The Check Digit
Determine if an ISBN-10 is valid
Convert an ISBN-10 to an ISBN-13
Given: A 10-Digit ISBN
To Determine: If it is valid or invalid
To Convert: To a 13-Digit ISBN
NOTE: If the check digit is an "X", please type the uppercase X (not lowercase x) as is.
Calculate the Check Digit of an ISBN-13
Given: The 12 Digits of a 13-Digit ISBN
To Find: The Check Digit
Determine if an ISBN-13 is valid
Convert an ISBN-13 to an ISBN-10
Given: A 13-Digit ISBN
To Determine: If it is valid or invalid
To Convert: To a 10-Digit ISBN