5789 has 4 divisors (see below), whose sum is σ = 6624.
Its totient is φ = 4956.
The previous prime is 5783. The next prime is 5791. The reversal of 5789 is 9875.
It is a happy number.
It is a semiprime because it is the product of two primes, and also a Blum integer, because the two primes are equal to 3 mod 4.
It is not a de Polignac number, because 5789 - 212 = 1693 is a prime.
It is a Duffinian number.
It is a Curzon number.
It is a plaindrome in base 10, base 15 and base 16.
It is a congruent number.
It is not an unprimeable number, because it can be changed into a prime (5783) by changing a digit.
It is a polite number, since it can be written in 3 ways as a sum of consecutive naturals, for example, 407 + ... + 420.
It is an arithmetic number, because the mean of its divisors is an integer number (1656).
It is an amenable number.
5789 is a deficient number, since it is larger than the sum of its proper divisors (835).
5789 is an equidigital number, since it uses as much as digits as its factorization.
5789 is an evil number, because the sum of its binary digits is even.
The sum of its prime factors is 834.
The product of its digits is 2520, while the sum is 29.
The square root of 5789 is about 76.0854782465.
The cubic root of 5789 is about 17.9556521437.
The spelling of 5789 in words is "five thousand, seven hundred eighty-nine".