Search a number
-
+
31387789 is a prime number
BaseRepresentation
bin111011110111…
…1000010001101
32012001122221201
41313233002031
531013402124
63040425501
7530535406
oct167570215
965048851
1031387789
1116799124
12a618291
13666c874
1442509ad
152b50144
hex1def08d

31387789 has 2 divisors, whose sum is σ = 31387790. Its totient is φ = 31387788.

The previous prime is 31387787. The next prime is 31387799. The reversal of 31387789 is 98778313.

It is a happy number.

It is a weak prime.

It can be written as a sum of positive squares in only one way, i.e., 30140100 + 1247689 = 5490^2 + 1117^2 .

It is a cyclic number.

It is not a de Polignac number, because 31387789 - 21 = 31387787 is a prime.

Together with 31387787, it forms a pair of twin primes.

It is a congruent number.

It is not a weakly prime, because it can be changed into another prime (31387781) by changing a digit.

It is a polite number, since it can be written as a sum of consecutive naturals, namely, 15693894 + 15693895.

It is an arithmetic number, because the mean of its divisors is an integer number (15693895).

Almost surely, 231387789 is an apocalyptic number.

It is an amenable number.

31387789 is a deficient number, since it is larger than the sum of its proper divisors (1).

31387789 is an equidigital number, since it uses as much as digits as its factorization.

31387789 is an odious number, because the sum of its binary digits is odd.

The product of its digits is 254016, while the sum is 46.

The square root of 31387789 is about 5602.4806113007. The cubic root of 31387789 is about 315.4425257576.

The spelling of 31387789 in words is "thirty-one million, three hundred eighty-seven thousand, seven hundred eighty-nine".