104789 has 2 divisors, whose sum is σ = 104790.
Its totient is φ = 104788.
The previous prime is 104779. The next prime is 104801. The reversal of 104789 is 987401.
It is a weak prime.
It can be written as a sum of positive squares in only one way, i.e., 58564 + 46225 = 242^2 + 215^2
It is a cyclic number.
It is not a de Polignac number, because 104789 - 24 = 104773 is a prime.
It is a Sophie Germain prime.
It is a Chen prime.
It is a Curzon number.
It is a congruent number.
It is not a weakly prime, because it can be changed into another prime (104729) by changing a digit.
It is a polite number, since it can be written as a sum of consecutive naturals, namely, 52394 + 52395.
It is an arithmetic number, because the mean of its divisors is an integer number (52395).
2104789 is an apocalyptic number.
It is an amenable number.
104789 is a deficient number, since it is larger than the sum of its proper divisors (1).
104789 is an equidigital number, since it uses as much as digits as its factorization.
104789 is an odious number, because the sum of its binary digits is odd.
The product of its (nonzero) digits is 2016, while the sum is 29.
The square root of 104789 is about 323.7112911222.
The cubic root of 104789 is about 47.1453175505.
The spelling of 104789 in words is "one hundred four thousand, seven hundred eighty-nine".