Search a number
-
+
40089 = 372383
BaseRepresentation
bin1001110010011001
32000222210
421302121
52240324
6505333
7224610
oct116231
960883
1040089
1128135
121b249
131532a
1410877
15bd29
hex9c99

40089 has 16 divisors (see below), whose sum is σ = 64512. Its totient is φ = 21648.

The previous prime is 40087. The next prime is 40093. The reversal of 40089 is 98004.

40089 is digitally balanced in base 2, because in such base it contains all the possibile digits an equal number of times.

It is not a de Polignac number, because 40089 - 21 = 40087 is a prime.

It is a Harshad number since it is a multiple of its sum of digits (21).

It is not an unprimeable number, because it can be changed into a prime (40087) by changing a digit.

It is a polite number, since it can be written in 15 ways as a sum of consecutive naturals, for example, 442 + ... + 524.

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

240089 is an apocalyptic number.

It is an amenable number.

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

40089 is a wasteful number, since it uses less digits than its factorization.

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

The sum of its prime factors is 116.

The product of its (nonzero) digits is 288, while the sum is 21.

The square root of 40089 is about 200.2223763719. Note that the first 3 decimals coincide. The cubic root of 40089 is about 34.2248647879.

The spelling of 40089 in words is "forty thousand, eighty-nine".

Divisors: 1 3 7 21 23 69 83 161 249 483 581 1743 1909 5727 13363 40089