Search a number
-
+
40087 is a prime number
BaseRepresentation
bin1001110010010111
32000222201
421302113
52240322
6505331
7224605
oct116227
960881
1040087
1128133
121b247
1315328
1410875
15bd27
hex9c97

40087 has 2 divisors, whose sum is σ = 40088. Its totient is φ = 40086.

The previous prime is 40063. The next prime is 40093. The reversal of 40087 is 78004.

It is a happy number.

It is a strong prime.

It is a cyclic number.

It is not a de Polignac number, because 40087 - 211 = 38039 is a prime.

It is a congruent number.

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

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

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

240087 is an apocalyptic number.

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

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

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

The product of its (nonzero) digits is 224, while the sum is 19.

The square root of 40087 is about 200.2173818628. The cubic root of 40087 is about 34.2242956303.

The spelling of 40087 in words is "forty thousand, eighty-seven".