Tells if a given number is either prime or composite