1789 has 2 divisors, whose sum is σ = 1790.
Its totient is φ = 1788.
The previous prime is 1787. The next prime is 1801. The reversal of 1789 is 9871.
It is a weak prime.
It can be written as a sum of positive squares in only one way, i.e., 1764 + 25 = 42^2 + 5^2
It is an emirp because it is prime and its reverse (9871) is a distict prime.
It is a cyclic number.
It is not a de Polignac number, because 1789 - 21 = 1787 is a prime.
Together with 1787, it forms a pair of twin primes.
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 (1783) by changing a digit.
It is a polite number, since it can be written as a sum of consecutive naturals, namely, 894 + 895.
It is an arithmetic number, because the mean of its divisors is an integer number (895).
It is an amenable number.
1789 is a deficient number, since it is larger than the sum of its proper divisors (1).
1789 is an equidigital number, since it uses as much as digits as its factorization.
1789 is an odious number, because the sum of its binary digits is odd.
The product of its digits is 504, while the sum is 25.
The square root of 1789 is about 42.2965719651.
The cubic root of 1789 is about 12.1395740012.
Subtracting from 1789 its sum of digits (25), we obtain a square (1764 = 422).
The spelling of 1789 in words is "one thousand, seven hundred eighty-nine".