WordGPT

Is 504 a prime number?

No, 504 is not a prime number. It is divisible by 2: 504 = 2 × 252.

Is 504 prime?

Pick any whole number from 1 to 10,000.

How to work it out

  1. 1

    A prime number has exactly two factors: 1 and itself.

  2. 2

    It is enough to test the primes up to √504 ≈ 22.45. If none of them divides 504, it is prime.

  3. 3

    2 divides 504 exactly, so it is not prime. Its prime factorisation is

    504=23×32×7504 = 2^{3} \times 3^{2} \times 7
LaTeX source of the formulas on this page
\[ 504 = 2^{3} \times 3^{2} \times 7 \]

Testing 504 by the primes up to its square root

PrimeDivisionResult
2504 ÷ 2divides exactly (252)
3504 ÷ 3divides exactly (168)
5504 ÷ 5leaves 4
7504 ÷ 7divides exactly (72)
11504 ÷ 11leaves 9
13504 ÷ 13leaves 10
17504 ÷ 17leaves 11
19504 ÷ 19leaves 10

Questions

Is 504 a prime number?

No, 504 is not a prime number. It is divisible by 2: 504 = 2 × 252.

What is the next prime after 504?

509.

What is the prime number before 504?

503.

What are the factors of 504?

1, 2, 3, 4, 6, 7, 8, 9, 12, 14, 18, 21, 24, 28, 36, 42, 56, 63, 72, 84, 126, 168, 252, 504.

Nearby numbers

More about 504

    Is 504 a prime number? No, with proof | WordGPT