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

Is 31 a prime number?

It is possible to find out using mathematical methods whether a given integer is a prime number or not.

For 31, the answer is: yes, 31 is a prime number because it has only two distinct divisors: 1 and itself (31).

As a consequence, 31 is only a multiple of 1 and 31..

Since 31 is a prime number, 31 is also a deficient number, that is to say 31 is a natural integer that is strictly larger than the sum of its proper divisors, i.e., the divisors of 31 without 31 itself (that is 1, by definition!).

Parity of 31

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

Is 31 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 31 is about 5.568.

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

Anyway, 31 is a prime number, and a prime number cannot be a perfect square.

What is the square number of 31?

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

The square of 31 is 961 because 31 × 31 = 312 = 961.

As a consequence, 31 is the square root of 961.

Number of digits of 31

31 is a number with 2 digits.

What are the multiples of 31?

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

  • 0: indeed, 0 is divisible by any natural number, and it is thus a multiple of 31 too, since 0 × 31 = 0
  • 31: indeed, 31 is a multiple of itself, since 31 is evenly divisible by 31 (we have 31 / 31 = 1, so the remainder of this division is indeed zero)
  • 62: indeed, 62 = 31 × 2
  • 93: indeed, 93 = 31 × 3
  • 124: indeed, 124 = 31 × 4
  • 155: indeed, 155 = 31 × 5
  • etc.

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 31). 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 5.568). 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 31

  • Preceding numbers: …29, 30
  • Following numbers: 32, 33

Nearest numbers from 31

  • Preceding prime number: 29
  • Following prime number: 37
Find out whether some integer is a prime number