nextprime
Find the next prime number after a given integer n. Input an integer to get the smallest prime greater than n.
Instructions
Find the next prime after n.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes | Integer. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |