Search a number
-
+
6786 = 2321329
BaseRepresentation
bin1101010000010
3100022100
41222002
5204121
651230
725533
oct15202
910270
106786
11510a
123b16
133120
14268a
152026
hex1a82

6786 has 24 divisors (see below), whose sum is σ = 16380. Its totient is φ = 2016.

The previous prime is 6781. The next prime is 6791. The reversal of 6786 is 6876.

6786 is a nontrivial binomial coefficient, being equal to C(117, 2).

It is an interprime number because it is at equal distance from previous prime (6781) and next prime (6791).

It can be written as a sum of positive squares in 2 ways, for example, as 6561 + 225 = 81^2 + 15^2 .

It is a plaindrome in base 14.

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

It is a pernicious number, because its binary representation contains a prime number (5) of ones.

It is a polite number, since it can be written in 11 ways as a sum of consecutive naturals, for example, 220 + ... + 248.

26786 is an apocalyptic number.

6786 is the 116-th triangular number.

It is a practical number, because each smaller number is the sum of distinct divisors of 6786, and also a Zumkeller number, because its divisors can be partitioned in two sets with the same sum (8190).

6786 is an abundant number, since it is smaller than the sum of its proper divisors (9594).

It is a pseudoperfect number, because it is the sum of a subset of its proper divisors.

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

6786 is an odious number, because the sum of its binary digits is odd.

The sum of its prime factors is 50 (or 47 counting only the distinct ones).

The product of its digits is 2016, while the sum is 27.

The square root of 6786 is about 82.3771813065. The cubic root of 6786 is about 18.9323540898.

It can be divided in two parts, 67 and 86, that added together give a triangular number (153 = T17).

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

Divisors: 1 2 3 6 9 13 18 26 29 39 58 78 87 117 174 234 261 377 522 754 1131 2262 3393 6786