Search a number
-
+
5040389 is a prime number
BaseRepresentation
bin10011001110100100000101
3100111002010002
4103032210011
52242243024
6300011045
760562004
oct23164405
910432102
105040389
112932a12
121830a85
1310762a3
14952c3b
156986ae
hex4ce905

5040389 has 2 divisors, whose sum is σ = 5040390. Its totient is φ = 5040388.

The previous prime is 5040379. The next prime is 5040391. The reversal of 5040389 is 9830405.

It is a strong prime.

It can be written as a sum of positive squares in only one way, i.e., 4452100 + 588289 = 2110^2 + 767^2 .

It is a cyclic number.

It is not a de Polignac number, because 5040389 - 212 = 5036293 is a prime.

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

It is a Chen prime.

It is an Ulam number.

It is a congruent number.

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

It is a good prime.

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

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

Almost surely, 25040389 is an apocalyptic number.

It is an amenable number.

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

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

5040389 is an evil number, because the sum of its binary digits is even.

The product of its (nonzero) digits is 4320, while the sum is 29.

The square root of 5040389 is about 2245.0810675786. The cubic root of 5040389 is about 171.4567885761.

The spelling of 5040389 in words is "five million, forty thousand, three hundred eighty-nine".