Is 542 a Prime Number?
No — 542 is a composite number: 542 = 2 × 271. It has 4 factors (1, 2, 271, 542), more than the two a prime needs. Its smallest prime factor is 2.
Is 542 prime?No — composite
Previous prime541
Next prime547
Prime factorization2 × 271
Step by step
- Smallest divisor: 2 (542 ÷ 2 = 271).
- So 542 is composite: 542 = 2 × 271
The √542 test
To check 542, divide it by each prime up to √542 ≈ 23.28. If none goes in evenly, the number is prime.
| Test | Result | Verdict |
|---|---|---|
| 542 ÷ 2 | no remainder | ✓ factor — so 542 is composite |
Nearby primes
Previous prime: 541. Next prime: 547.
Full details: factors of 542 · all primes up to 1,000.
Is 542 prime: questions
Is 542 a prime number?
No — 542 is a composite number: 542 = 2 × 271.
What are the factors of 542?
1, 2, 271, 542.
What is the next prime after 542?
547.