Search a number
16789 = 103163

16789 has 4 divisors (see below), whose sum is σ = 17056. Its totient is φ = 16524.

The previous prime is 16787. The next prime is 16811. The reversal of 16789 is 98761.

16789 is digitally balanced in base 3, because in such base it contains all the possibile digits an equal number of times.

It is a semiprime because it is the product of two primes, and also a Blum integer, because the two primes are equal to 3 mod 4, and also a brilliant number, because the two primes have the same length.

It is a cyclic number.

It is not a de Polignac number, because 16789 - 21 = 16787 is a prime.

It is an alternating number because its digits alternate between odd and even.

It is a Duffinian number.

It is a plaindrome in base 10.

It is a nialpdrome in base 7 and base 12.

It is a self number, because there is not a number n which added to its sum of digits gives 16789.

It is a congruent number.

It is not an unprimeable number, because it can be changed into a prime (16787) by changing a digit.

It is a polite number, since it can be written in 3 ways as a sum of consecutive naturals, for example, 22 + ... + 184.

It is an arithmetic number, because the mean of its divisors is an integer number (4264).

216789 is an apocalyptic number.

It is an amenable number.

16789 is a deficient number, since it is larger than the sum of its proper divisors (267).

16789 is a wasteful number, since it uses less digits than its factorization.

16789 is an evil number, because the sum of its binary digits is even.

The sum of its prime factors is 266.

The product of its digits is 3024, while the sum is 31.

The square root of 16789 is about 129.5723735987. The cubic root of 16789 is about 25.6059922496.

It can be divided in two parts, 167 and 89, that added together give a 8-th power (256 = 28).

The spelling of 16789 in words is "sixteen thousand, seven hundred eighty-nine".

Divisors: 1 103 163 16789