Prime numbers X75967


Statement
 

pdf   zip

html
Public test cases
  • Input

    7
    26
    177
    509
    2053
    0
    

    Output

    7 is prime
    26 is not prime
    177 is not prime
    509 is prime
    2053 is prime
    
  • Information
    Author
    HP Codewars BCN
    Language
    English
    Official solutions
    Python
    User solutions
    C++ Haskell Java Python