How do you check whether a number is prime?
A prime has exactly two divisors, 1 and itself. To test n, try dividing by every prime up to √n; if none divides evenly, n is prime.
Worked example
√97 ≈ 9.85, and none of 2, 3, 5 or 7 divides 97, so 97 is prime. 360 is divisible by 2, so it is not; dividing out the factors gives 2^3 × 3^2 × 5. The nearest primes to 360 are 359 and 367.
Which numbers are prime?
The primes up to 100 are 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89 and 97. 2 is the only even prime and 1 is not prime.
Questions people ask
Is 97 a prime number?
Yes. Its only divisors are 1 and 97.
What are the prime factors of 360?
2^3 × 3^2 × 5. That is 2 × 2 × 2 × 3 × 3 × 5 = 360.
Is 1 a prime number?
No. A prime has exactly two different divisors, and 1 has only one.
Is 2 prime?
Yes, and it is the only even prime number.
What is prime factorization?
Writing a number as a product of primes. Every whole number above 1 has exactly one such product, apart from the order.
Sources
- OpenStax (Rice University): Prealgebra 2e, free open textbook
Related calculators
- Percentage calculator: What is X% of Y, X is what % of Y, and the whole from a part
- Percentage change calculator: Percent increase, decrease and difference between two numbers
- Fraction calculator: Add, subtract, multiply and divide fractions and mixed numbers
- Fraction to decimal calculator: Fractions to decimals and back, with repeating digits
- Ratio calculator: Simplify a ratio, solve a proportion, split a total
- Average calculator: Mean, median, mode and range of a list of numbers
- Standard deviation calculator: Population and sample standard deviation, variance and quartiles
- GPA calculator: Semester and weighted GPA on the 4.0 scale
Published by wiseowlcalc · Last updated · Checked by wiseowlcalc against the sources above; not yet reviewed by a named professional (editorial policy).
Calculators give estimates for planning only. They are not financial, tax, legal or medical advice. Check important decisions with a qualified professional.