Whole-Number Arithmetic with Modulus
Add, multiply or raise whole numbers to powers under positive modulus.
Your numbers
Remainder after modular operation
Use consistent units. Result follow the assumptions wey you enter.
Compare scenarios
You fit keep up to three snapshots for this tab. Loading one go replace the present inputs.
Formula
0 ≤ result < modulus; modular exponentiation dey use repeated squaring.
Add, multiply or raise whole numbers to powers under positive modulus.
Example wey show the calculation
- First whole number
- 17
- Second whole number or exponent
- 5
- Modulus wey you use
- 7
- Operation
- Multiply the numbers
- Remainder after modular operation
- 1
Where e fit work and limits
Use consistent units. Result follow the assumptions wey you enter.
We check inputs for missing values and allowed ranges. Result wey pass the finite numeric range no go show. Rounding affect wetin display, while calculation use the model numeric precision.
Check your units and assumptions before you rely on result. Changing label no convert currency or physical unit.
Version of di formula: 571c8b35c06f · Example don get check: