5087 has 2 divisors, whose sum is σ = 5088.
Its totient is φ = 5086.
The previous prime is 5081. The next prime is 5099. The reversal of 5087 is 7805.
It is a weak prime.
It is a cyclic number.
It is not a de Polignac number, because 5087 - 26 = 5023 is a prime.
It is a Chen prime.
It is a plaindrome in base 16.
It is a congruent number.
It is not a weakly prime, because it can be changed into another prime (5081) by changing a digit.
It is a polite number, since it can be written as a sum of consecutive naturals, namely, 2543 + 2544.
It is an arithmetic number, because the mean of its divisors is an integer number (2544).
25087 is an apocalyptic number.
5087 is a deficient number, since it is larger than the sum of its proper divisors (1).
5087 is an equidigital number, since it uses as much as digits as its factorization.
5087 is an evil number, because the sum of its binary digits is even.
The product of its (nonzero) digits is 280, while the sum is 20.
The square root of 5087 is about 71.3232080041.
The cubic root of 5087 is about 17.1983683327.
It can be divided in two parts, 508 and 7, that added together give a palindrome (515).
The spelling of 5087 in words is "five thousand, eighty-seven".