Next p Calculates the next odd prime number. Random Calculates a random integer with the number of bits indicated. Random uses Java's SecureRandom class to create a random quantity and this can take half a minute or so to complete the first time it is used. Rand p Calculates a random prime number with the number of bits indicated. Rand p uses Java's SecureRandom class to create a random quantity and this process can take half a minute or so to complete the first time it is used.
Primality testing is probabilistic.
Calculates the multiplicative inverse. This is mostly useful in modular arithmetic. The fractional value is shown in the status display. The fractional value is shown in the status display. All buttons have a keyboard equivalent .