5804 has 6 divisors (see below), whose sum is σ = 10164.
Its totient is φ = 2900.
The previous prime is 5801. The next prime is 5807. The reversal of 5804 is 4085.
Adding to 5804 its reverse (4085), we get a palindrome (9889).
It is an interprime number because it is at equal distance from previous prime (5801) and next prime (5807).
It is a plaindrome in base 15 and base 16.
It is not an unprimeable number, because it can be changed into a prime (5801) by changing a digit.
It is a pernicious number, because its binary representation contains a prime number (7) of ones.
It is a polite number, since it can be written as a sum of consecutive naturals, namely, 722 + ... + 729.
It is an arithmetic number, because the mean of its divisors is an integer number (1694).
It is an amenable number.
5804 is a deficient number, since it is larger than the sum of its proper divisors (4360).
5804 is a wasteful number, since it uses less digits than its factorization.
5804 is an odious number, because the sum of its binary digits is odd.
The sum of its prime factors is 1455 (or 1453 counting only the distinct ones).
The product of its (nonzero) digits is 160, while the sum is 17.
The square root of 5804 is about 76.1839878190.
The cubic root of 5804 is about 17.9711471912.
The spelling of 5804 in words is "five thousand, eight hundred four".