Math Calculator

Prime or Composite Numbers Calculation

An integer which is divisible by itself and 1 is called as prime number. If the integer has more than two factors it is called as composite. 1 is neither a prime nor a composite number. Any even number other than two will be not be a prime number. This calculator is used to find, if an entered number is prime or composite.

Calculator

Example

Find the primality of 5 and 6.
Find the factors of the numbers 5 = 1x5 6 = 1x6, 2x3 , 3x2 5 has only 1 and 5 as its factors. Hence it is prime number. 6 has more than 2 factors. Hence it is a composite.