Is 1020 a prime number?

Prime Number Checker
Number

Is 1,020 a prime or composite number?

Answer

Number 1,020 is not a Prime

1,020 = 2² × 3 × 5 × 17

1,020 has 24 divisors, not two: a prime is divisible only by 1 and itself.

Primes up to √1,020

31² = 961 ≤ 1,020 < 1,024 = 32², so it is enough to try primes up to 31

  • ÷2 divides

1,020 ÷ 2 = 510 — 2 divides 1,020, so 1,020 is composite

See Also

FAQ

Is 1,020 a prime or composite number?

Number 1,020 is not a Prime

How many factors are in a number 1,020?

24

How to check if 1,020 is prime?

Divide 1,020 by the primes in order: 31² = 961 ≤ 1,020 < 1,024 = 32², so it is enough to try primes up to 31. The first one that divides it is 2: 1,020 ÷ 2 = 510, so 1,020 is composite.