4987 has 2 divisors, whose sum is σ = 4988.
Its totient is φ = 4986.
The previous prime is 4973. The next prime is 4993. The reversal of 4987 is 7894.
It can be divided in two parts, 498 and 7, that multiplied together give a triangular number (3486 = T83).
It is a strong prime.
It is a cyclic number.
It is not a de Polignac number, because 4987 - 211 = 2939 is a prime.
It is a Chen prime.
It is an alternating number because its digits alternate between even and odd.
4987 is a lucky number.
It is a plaindrome in base 13 and base 16.
It is not a weakly prime, because it can be changed into another prime (4937) by changing a digit.
It is a polite number, since it can be written as a sum of consecutive naturals, namely, 2493 + 2494.
It is an arithmetic number, because the mean of its divisors is an integer number (2494).
24987 is an apocalyptic number.
4987 is a deficient number, since it is larger than the sum of its proper divisors (1).
4987 is an equidigital number, since it uses as much as digits as its factorization.
4987 is an odious number, because the sum of its binary digits is odd.
The product of its digits is 2016, while the sum is 28.
The square root of 4987 is about 70.6186944088.
The cubic root of 4987 is about 17.0849268128.
The spelling of 4987 in words is "four thousand, nine hundred eighty-seven".