Java.Math.BigInteger.NextProbablePrime Method
Returns the smallest integer x > this which is probably prime as a BigInteger instance.

Syntax

[Android.Runtime.Register("nextProbablePrime", "()Ljava/math/BigInteger;", "GetNextProbablePrimeHandler")]
public virtual BigInteger NextProbablePrime ()

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.ArithmeticExceptionif this .

Remarks

Returns the smallest integer x > this which is probably prime as a BigInteger instance. The probability that the returned BigInteger is prime is greater than 1 - 1/2100.

[Android Documentation]

Requirements

Namespace: Java.Math
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1