340789 has 2 divisors, whose sum is σ = 340790. Its totient is φ = 340788.
The previous prime is 340787. The next prime is 340793. The reversal of 340789 is 987043.
It is a happy number.
340789 is nontrivially palindromic in base 16.
It is a weak prime.
It can be written as a sum of positive squares in only one way, i.e., 339889 + 900 = 583^2 + 30^2 .
It is an emirp because it is prime and its reverse (987043) is a distict prime.
It is a cyclic number.
It is not a de Polignac number, because 340789 - 21 = 340787 is a prime.
It is a super-2 number, since 2×3407892 = 232274285042, which contains 22 as substring.
Together with 340787, it forms a pair of twin primes.
340789 is a lucky number.
It is a self number, because there is not a number n which added to its sum of digits gives 340789.
It is a congruent number.
It is not a weakly prime, because it can be changed into another prime (340787) by changing a digit.
It is a polite number, since it can be written as a sum of consecutive naturals, namely, 170394 + 170395.
It is an arithmetic number, because the mean of its divisors is an integer number (170395).
2340789 is an apocalyptic number.
It is an amenable number.
340789 is a deficient number, since it is larger than the sum of its proper divisors (1).
340789 is an equidigital number, since it uses as much as digits as its factorization.
340789 is an evil number, because the sum of its binary digits is even.
The product of its (nonzero) digits is 6048, while the sum is 31.
The square root of 340789 is about 583.7713593523. The cubic root of 340789 is about 69.8492674942.
The spelling of 340789 in words is "three hundred forty thousand, seven hundred eighty-nine".
• e-mail: info -at- numbersaplenty.com • Privacy notice • done in 0.071 sec. • engine limits •