Search a number
6791 is a prime number
BaseRepresentation
bin1101010000111
3100022112
41222013
5204131
651235
725541
oct15207
910275
106791
115114
123b1b
133125
142691
15202b
hex1a87

6791 has 2 divisors, whose sum is σ = 6792. Its totient is φ = 6790.

The previous prime is 6781. The next prime is 6793. The reversal of 6791 is 1976.

It is a happy number.

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

It is a strong prime.

It is a cyclic number.

It is a de Polignac number, because none of the positive numbers 2k-6791 is a prime.

It is a super-2 number, since 2×67912 = 92235362, which contains 22 as substring.

Together with 6793, it forms a pair of twin primes.

It is a Chen prime.

It is a congruent number.

It is not a weakly prime, because it can be changed into another prime (6793) 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 as a sum of consecutive naturals, namely, 3395 + 3396.

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

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

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

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

The product of its digits is 378, while the sum is 23.

The square root of 6791 is about 82.4075239283. The cubic root of 6791 is about 18.9370028044.

It can be divided in two parts, 6 and 791, that added together give a palindrome (797).

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