BigInteger.NextProbablePrime Method

Definition

Returns the first integer greater than this BigInteger that is probably prime.

[Android.Runtime.Register("nextProbablePrime", "()Ljava/math/BigInteger;", "GetNextProbablePrimeHandler")]
public virtual Java.Math.BigInteger NextProbablePrime ();
[<Android.Runtime.Register("nextProbablePrime", "()Ljava/math/BigInteger;", "GetNextProbablePrimeHandler")>]
abstract member NextProbablePrime : unit -> Java.Math.BigInteger
override this.NextProbablePrime : unit -> Java.Math.BigInteger

Returns

the first integer greater than this BigInteger that is probably prime.

Attributes

Exceptions

Remarks

Java documentation for java.math.BigInteger.nextProbablePrime().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to