Is 513 a prime number?

Prime Number Checker
Number

Is 513 a prime or composite number?

Answer

Number 513 is not a Prime

513 = 3³ × 19

513 has 8 divisors — 1, 3, 9, 19, 27, 57, 171 and 513; a prime has exactly two: 1 and itself.

Primes up to √513

22² = 484 ≤ 513 < 529 = 23², so it is enough to try primes up to 22

  • ÷2 does not divide
  • ÷3 divides

513 ÷ 3 = 171 — 3 divides 513, so 513 is composite

See Also

FAQ

Is 513 a prime or composite number?

Number 513 is not a Prime

How many factors are in a number 513?

8

How to check if 513 is prime?

Divide 513 by the primes in order: 22² = 484 ≤ 513 < 529 = 23², so it is enough to try primes up to 22. The first one that divides it is 3: 513 ÷ 3 = 171, so 513 is composite.