Determines if a number is prime
Determines whether a given number is prime or not. Returns 1 if the number is prime, Return 0 if the number is not prime.
URL
https://api.excelapi.org/math/isprime
Configuration
Configuration | Required | Description |
---|---|---|
input | ✔ | Specifies a prime number. Maximum value is 100000000 (100 million) |
Example
=WEBSERVICE("https://api.excelapi.org/math/isprime?input="&A2)