Returns the first integer greater than this {@code BigInteger} thatis probably prime. The probability that the number returned by this method is composite does not exceed 2-100. This method will never skip over a prime when searching: if it returns {@code p}, there is no prime {@code q} such that {@code this < q < p}.
@return the first integer greater than this {@code BigInteger} thatis probably prime.
@throws ArithmeticException {@code this < 0}.
@since 1.5
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.