5178987 has 12 divisors (see below), whose sum is σ = 8160984.
Its totient is φ = 3138720.
The previous prime is 5178983. The next prime is 5178989. The reversal of 5178987 is 7898715.
5178987 is digitally balanced in base 4, because in such base it contains all the possibile digits an equal number of times.
It is not a de Polignac number, because 5178987 - 22 = 5178983 is a prime.
It is not an unprimeable number, because it can be changed into a prime (5178983) by changing a digit.
It is a polite number, since it can be written in 11 ways as a sum of consecutive naturals, for example, 26058 + ... + 26255.
It is an arithmetic number, because the mean of its divisors is an integer number (680082).
Almost surely, 25178987 is an apocalyptic number.
5178987 is a deficient number, since it is larger than the sum of its proper divisors (2981997).
5178987 is a wasteful number, since it uses less digits than its factorization.
5178987 is an evil number, because the sum of its binary digits is even.
The sum of its prime factors is 52330 (or 52327 counting only the distinct ones).
The product of its digits is 141120, while the sum is 45.
The square root of 5178987 is about 2275.7387811434.
The cubic root of 5178987 is about 173.0141434303.
The spelling of 5178987 in words is "five million, one hundred seventy-eight thousand, nine hundred eighty-seven".