5987 has 2 divisors, whose sum is σ = 5988.
Its totient is φ = 5986.
The previous prime is 5981. The next prime is 6007. The reversal of 5987 is 7895.
It can be divided in two parts, 598 and 7, that multiplied together give a triangular number (4186 = T91).
It is a happy number.
It is a weak prime.
It is a cyclic number.
It is not a de Polignac number, because 5987 - 26 = 5923 is a prime.
It is a Chen prime.
It is a plaindrome in base 12 and base 14.
It is not a weakly prime, because it can be changed into another prime (5981) by changing a digit.
It is a polite number, since it can be written as a sum of consecutive naturals, namely, 2993 + 2994.
It is an arithmetic number, because the mean of its divisors is an integer number (2994).
25987 is an apocalyptic number.
5987 is a deficient number, since it is larger than the sum of its proper divisors (1).
5987 is an equidigital number, since it uses as much as digits as its factorization.
5987 is an evil number, because the sum of its binary digits is even.
The product of its digits is 2520, while the sum is 29.
The square root of 5987 is about 77.3757067819.
The cubic root of 5987 is about 18.1580727900.
The spelling of 5987 in words is "five thousand, nine hundred eighty-seven".