58789 has 2 divisors, whose sum is σ = 58790.
Its totient is φ = 58788.
The previous prime is 58787. The next prime is 58831. The reversal of 58789 is 98785.
It is a weak prime.
It can be written as a sum of positive squares in only one way, i.e., 58564 + 225 = 242^2 + 15^2
It is a cyclic number.
It is not a de Polignac number, because 58789 - 21 = 58787 is a prime.
It is a super-2 number, since 2×587892 = 6912293042, which contains 22 as substring.
Together with 58787, it forms a pair of twin primes.
It is a Chen prime.
It is an alternating number because its digits alternate between odd and even.
It is a congruent number.
It is not a weakly prime, because it can be changed into another prime (58787) by changing a digit.
It is a polite number, since it can be written as a sum of consecutive naturals, namely, 29394 + 29395.
It is an arithmetic number, because the mean of its divisors is an integer number (29395).
258789 is an apocalyptic number.
It is an amenable number.
58789 is a deficient number, since it is larger than the sum of its proper divisors (1).
58789 is an equidigital number, since it uses as much as digits as its factorization.
58789 is an odious number, because the sum of its binary digits is odd.
The product of its digits is 20160, while the sum is 37.
The square root of 58789 is about 242.4644303810.
The cubic root of 58789 is about 38.8835006896.
It can be divided in two parts, 587 and 89, that added together give a palindrome (676).
The spelling of 58789 in words is "fifty-eight thousand, seven hundred eighty-nine".