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

## Parity of 789

789 is an odd number, because it is not evenly divisible by 2.

Find out more:

## Is 789 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 789 is about 28.089.

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

## What is the square number of 789?

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

The square of 789 is 622 521 because 789 × 789 = 7892 = 622 521.

As a consequence, 789 is the square root of 622 521.

## Number of digits of 789

789 is a number with 3 digits.

## What are the multiples of 789?

The multiples of 789 are all integers evenly divisible by 789, that is all numbers such that the remainder of the division by 789 is zero. There are infinitely many multiples of 789. The smallest multiples of 789 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 789). 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 28.089). 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 789

• Preceding numbers: …787, 788
• Following numbers: 790, 791

### Nearest numbers from 789

• Preceding prime number: 787
• Following prime number: 797
Find out whether some integer is a prime number