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".
• e-mail: info -at- numbersaplenty.com • Privacy notice • done in 0.000 sec. • engine limits •