6871 has 2 divisors, whose sum is σ = 6872.
Its totient is φ = 6870.
The previous prime is 6869. The next prime is 6883. The reversal of 6871 is 1786.
It is a weak prime.
It is a cyclic number.
It is not a de Polignac number, because 6871 - 21 = 6869 is a prime.
Together with 6869, it forms a pair of twin primes.
6871 is a lucky number.
It is a congruent number.
It is not a weakly prime, because it can be changed into another prime (6841) by changing a digit.
It is a polite number, since it can be written as a sum of consecutive naturals, namely, 3435 + 3436.
It is an arithmetic number, because the mean of its divisors is an integer number (3436).
26871 is an apocalyptic number.
6871 is a deficient number, since it is larger than the sum of its proper divisors (1).
6871 is an equidigital number, since it uses as much as digits as its factorization.
6871 is an odious number, because the sum of its binary digits is odd.
The product of its digits is 336, while the sum is 22.
The square root of 6871 is about 82.8914953418.
The cubic root of 6871 is about 19.0110738769.
The spelling of 6871 in words is "six thousand, eight hundred seventy-one".