Search a number
-
+
40004089 is a prime number
BaseRepresentation
bin1001100010011…
…0100111111001
32210021102021221
42120212213321
540220112324
63545232041
7664012666
oct230464771
983242257
1040004089
1120643734
1211492621
138398678
145454a6d
1537a30e4
hex26269f9

40004089 has 2 divisors, whose sum is σ = 40004090. Its totient is φ = 40004088.

The previous prime is 40004087. The next prime is 40004117. The reversal of 40004089 is 98040004.

It is a weak prime.

It can be written as a sum of positive squares in only one way, i.e., 23843689 + 16160400 = 4883^2 + 4020^2 .

It is a cyclic number.

It is not a de Polignac number, because 40004089 - 21 = 40004087 is a prime.

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

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

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

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

Almost surely, 240004089 is an apocalyptic number.

It is an amenable number.

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

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

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

The product of its (nonzero) digits is 1152, while the sum is 25.

The square root of 40004089 is about 6324.8785759096. The cubic root of 40004089 is about 342.0068424243.

The spelling of 40004089 in words is "forty million, four thousand, eighty-nine".