5989 has 4 divisors (see below), whose sum is σ = 6156.
Its totient is φ = 5824.
The previous prime is 5987. The next prime is 6007. The reversal of 5989 is 9895.
It is a semiprime because it is the product of two primes, and also an emirpimes, since its reverse is a distinct semiprime: 9895 = 5 ⋅1979.
It can be written as a sum of positive squares in 2 ways, for example, as 1764 + 4225 = 42^2 + 65^2
It is a cyclic number.
It is not a de Polignac number, because 5989 - 21 = 5987 is a prime.
It is a Duffinian number.
It is a plaindrome in base 11 and base 14.
It is a self number, because there is not a number n which added to its sum of digits gives 5989.
It is a congruent number.
It is not an unprimeable number, because it can be changed into a prime (5981) by changing a digit.
It is a polite number, since it can be written in 3 ways as a sum of consecutive naturals, for example, 4 + ... + 109.
It is an arithmetic number, because the mean of its divisors is an integer number (1539).
25989 is an apocalyptic number.
It is an amenable number.
5989 is a deficient number, since it is larger than the sum of its proper divisors (167).
5989 is a wasteful number, since it uses less digits than its factorization.
5989 is an evil number, because the sum of its binary digits is even.
The sum of its prime factors is 166.
The product of its digits is 3240, while the sum is 31.
The square root of 5989 is about 77.3886296558.
The cubic root of 5989 is about 18.1600945094.
Adding to 5989 its product of digits (3240), we get a palindrome (9229).
The spelling of 5989 in words is "five thousand, nine hundred eighty-nine".