Is 504 a prime number? What are the divisors of 504?

Parity of 504

504 is an even number, because it is evenly divisible by 2: 504 / 2 = 252.

Find out more:

Is 504 a perfect square number?

A number is a perfect square (or a square number) if its square root is an integer; that is to say, it is the product of an integer with itself. Here, the square root of 504 is about 22.450.

Thus, the square root of 504 is not an integer, and therefore 504 is not a square number.

What is the square number of 504?

The square of a number (here 504) is the result of the product of this number (504) by itself (i.e., 504 × 504); the square of 504 is sometimes called "raising 504 to the power 2", or "504 squared".

The square of 504 is 254 016 because 504 × 504 = 5042 = 254 016.

As a consequence, 504 is the square root of 254 016.

Number of digits of 504

504 is a number with 3 digits.

What are the multiples of 504?

The multiples of 504 are all integers evenly divisible by 504, that is all numbers such that the remainder of the division by 504 is zero. There are infinitely many multiples of 504. The smallest multiples of 504 are:

How to determine whether an integer is a prime number?

To determine the primality of a number, several algorithms can be used. The most naive technique is to test all divisors strictly smaller to the number of which we want to determine the primality (here 504). First, we can eliminate all even numbers greater than 2 (and hence 4, 6, 8…). Then, we can stop this check when we reach the square root of the number of which we want to determine the primality (here the square root is about 22.450). Historically, the sieve of Eratosthenes (dating from the Greek mathematics) implements this technique in a relatively efficient manner.

More modern techniques include the sieve of Atkin, probabilistic algorithms, and the cyclotomic AKS test.

Numbers near 504

  • Preceding numbers: …502, 503
  • Following numbers: 505, 506

Nearest numbers from 504

  • Preceding prime number: 503
  • Following prime number: 509
Find out whether some integer is a prime number