Search a number
6789 = 33173
BaseRepresentation
bin1101010000101
3100022110
41222011
5204124
651233
725536
oct15205
910273
106789
115112
123b19
133123
14268d
152029
hex1a85

6789 has 8 divisors (see below), whose sum is σ = 9472. Its totient is φ = 4320.

The previous prime is 6781. The next prime is 6791. The reversal of 6789 is 9876.

It is a happy number.

6789 is an esthetic number in base 10, because in such base its adjacent digits differ by 1.

It is a sphenic number, since it is the product of 3 distinct primes.

It is not a de Polignac number, because 6789 - 23 = 6781 is a prime.

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

It is a Duffinian number.

6789 is a lucky number.

It is a straight-line number, since its digits are in arithmetic progression.

It is a plaindrome in base 10 and base 14.

It is a congruent number.

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

It is a polite number, since it can be written in 7 ways as a sum of consecutive naturals, for example, 57 + ... + 129.

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

It is an amenable number.

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

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

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

The sum of its prime factors is 107.

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

The square root of 6789 is about 82.3953882205. The cubic root of 6789 is about 18.9351435925.

The spelling of 6789 in words is "six thousand, seven hundred eighty-nine".

Divisors: 1 3 31 73 93 219 2263 6789