Is a positive integer prime?

Input: A positive integer n, in the range [1, 231)

Output: A standard true value if n is prime, and a standard false value otherwise.


7   ->True
1   ->False

Languages, by Score

Languages, by Name

Back to Hole List

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License