Search a number
BaseRepresentation
bin1101010001101
3100022202
41222031
5204142
651245
725550
oct15215
910282
106797
11511a
123b25
13312b
142697
152032
hex1a8d

6797 has 4 divisors (see below), whose sum is σ = 7776. Its totient is φ = 5820.

The previous prime is 6793. The next prime is 6803. The reversal of 6797 is 7976.

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.

It is a cyclic number.

It is not a de Polignac number, because 6797 - 22 = 6793 is a prime.

It is a Duffinian number.

It is a congruent number.

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

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

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

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

It is an amenable number.

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

6797 is an equidigital number, since it uses as much as digits as its factorization.

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

The sum of its prime factors is 978.

The product of its digits is 2646, while the sum is 29.

The square root of 6797 is about 82.4439203338. The cubic root of 6797 is about 18.9425782508.

It can be divided in two parts, 679 and 7, that multiplied together give a triangular number (4753 = T97).

The spelling of 6797 in words is "six thousand, seven hundred ninety-seven".

Divisors: 1 7 971 6797