This no longer works because I wrote it 20 years ago and have not maintained it. Source code is at https://www.rsok.com/~jrm/source/java/
Enter a positive integer in the form below to find the next larger prime number. This is a JAVA program and requires a new enough JAVA in your web browser to include the java.math.BigInteger package.