Search a number
-
+
40004087 is a prime number
BaseRepresentation
bin1001100010011…
…0100111110111
32210021102021212
42120212213313
540220112322
63545232035
7664012664
oct230464767
983242255
1040004087
1120643732
121149261b
138398676
145454a6b
1537a30e2
hex26269f7

40004087 has 2 divisors, whose sum is σ = 40004088. Its totient is φ = 40004086.

The previous prime is 40004057. The next prime is 40004089. The reversal of 40004087 is 78040004.

It is a strong prime.

It is a cyclic number.

It is not a de Polignac number, because 40004087 - 26 = 40004023 is a prime.

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

It is a Chen prime.

It is a congruent number.

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

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

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

Almost surely, 240004087 is an apocalyptic number.

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

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

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

The product of its (nonzero) digits is 896, while the sum is 23.

The square root of 40004087 is about 6324.8784178038. The cubic root of 40004087 is about 342.0068367248.

The spelling of 40004087 in words is "forty million, four thousand, eighty-seven".