Mathematics
Calculation method and formula
Integer mod d; d = 2 … round down(square root(Integer))
Understand the inputs
- Integer
- Minimum 2. Maximum 10000000. Whole number.
Assumptions and limitations
Random numbers suit ordinary selections, not cryptographic keys or gambling guarantees. The prime test checks integers in its stated range by divisibility up to the square root.
The formula uses the specified units. Displayed numbers are rounded; whole packs, item counts and full time periods may also be rounded within the calculation.