7871 has 4 divisors (see below), whose sum is σ = 8352.
Its totient is φ = 7392.
The previous prime is 7867. The next prime is 7873. The reversal of 7871 is 1787.
Subtracting from 7871 its reverse (1787), we obtain a square (6084 = 782).
It can be divided in two parts, 7 and 871, that added together give a palindrome (878).
It is a semiprime because it is the product of two primes.
It is a cyclic number.
It is not a de Polignac number, because 7871 - 22 = 7867 is a prime.
It is a Duffinian number.
It is a plaindrome in base 12.
It is a congruent number.
It is an inconsummate number, since it does not exist a number n which divided by its sum of digits gives 7871.
It is not an unprimeable number, because it can be changed into a prime (7873) by changing a digit.
It is a pernicious number, because its binary representation contains a prime number (11) of ones.
It is a polite number, since it can be written in 3 ways as a sum of consecutive naturals, for example, 215 + ... + 248.
It is an arithmetic number, because the mean of its divisors is an integer number (2088).
27871 is an apocalyptic number.
7871 is a deficient number, since it is larger than the sum of its proper divisors (481).
7871 is a wasteful number, since it uses less digits than its factorization.
7871 is an odious number, because the sum of its binary digits is odd.
The sum of its prime factors is 480.
The product of its digits is 392, while the sum is 23.
The square root of 7871 is about 88.7186564371.
The cubic root of 7871 is about 19.8919169550.
The spelling of 7871 in words is "seven thousand, eight hundred seventy-one".