6879 has 4 divisors (see below), whose sum is σ = 9176.
Its totient is φ = 4584.
The previous prime is 6871. The next prime is 6883. The reversal of 6879 is 9786.
It can be divided in two parts, 687 and 9, that added together give a palindrome (696).
It is a happy number.
It is a semiprime because it is the product of two primes.
It is not a de Polignac number, because 6879 - 23 = 6871 is a prime.
It is a D-number.
It is a Duffinian number.
It is a plaindrome in base 16.
It is a congruent number.
It is not an unprimeable number, because it can be changed into a prime (6871) by changing a digit.
It is a polite number, since it can be written in 3 ways as a sum of consecutive naturals, for example, 1144 + ... + 1149.
It is an arithmetic number, because the mean of its divisors is an integer number (2294).
26879 is an apocalyptic number.
6879 is a deficient number, since it is larger than the sum of its proper divisors (2297).
6879 is a wasteful number, since it uses less digits than its factorization.
6879 is an evil number, because the sum of its binary digits is even.
The sum of its prime factors is 2296.
The product of its digits is 3024, while the sum is 30.
The square root of 6879 is about 82.9397371590.
The cubic root of 6879 is about 19.0184493003.
The spelling of 6879 in words is "six thousand, eight hundred seventy-nine".