5078 has 4 divisors (see below), whose sum is σ = 7620.
Its totient is φ = 2538.
The previous prime is 5077. The next prime is 5081. The reversal of 5078 is 8705.
It is a semiprime because it is the product of two primes, and also an emirpimes, since its reverse is a distinct semiprime: 8705 = 5 ⋅1741.
It is an alternating number because its digits alternate between odd and even.
It is a plaindrome in base 15.
It is a congruent number.
It is not an unprimeable number, because it can be changed into a prime (5077) by changing a digit.
It is a polite number, since it can be written as a sum of consecutive naturals, namely, 1268 + ... + 1271.
It is an arithmetic number, because the mean of its divisors is an integer number (1905).
25078 is an apocalyptic number.
5078 is a deficient number, since it is larger than the sum of its proper divisors (2542).
5078 is a wasteful number, since it uses less digits than its factorization.
5078 is an evil number, because the sum of its binary digits is even.
The sum of its prime factors is 2541.
The product of its (nonzero) digits is 280, while the sum is 20.
The square root of 5078 is about 71.2600870053.
The cubic root of 5078 is about 17.1882198046.
It can be divided in two parts, 507 and 8, that added together give a palindrome (515).
The spelling of 5078 in words is "five thousand, seventy-eight".