125789 has 2 divisors, whose sum is σ = 125790.
Its totient is φ = 125788.
The previous prime is 125777. The next prime is 125791. The reversal of 125789 is 987521.
It is a strong prime.
It can be written as a sum of positive squares in only one way, i.e., 105625 + 20164 = 325^2 + 142^2
It is a cyclic number.
It is a de Polignac number, because none of the positive numbers 2k-125789 is a prime.
Together with 125791, it forms a pair of twin primes.
It is a Chen prime.
It is a plaindrome in base 10.
It is a congruent number.
It is not a weakly prime, because it can be changed into another prime (121789) by changing a digit.
It is a polite number, since it can be written as a sum of consecutive naturals, namely, 62894 + 62895.
It is an arithmetic number, because the mean of its divisors is an integer number (62895).
2125789 is an apocalyptic number.
It is an amenable number.
125789 is a deficient number, since it is larger than the sum of its proper divisors (1).
125789 is an equidigital number, since it uses as much as digits as its factorization.
125789 is an evil number, because the sum of its binary digits is even.
The product of its digits is 5040, while the sum is 32.
The square root of 125789 is about 354.6674498738.
The cubic root of 125789 is about 50.1049794321.
The spelling of 125789 in words is "one hundred twenty-five thousand, seven hundred eighty-nine".