Search a number
12871 = 61211

12871 has 4 divisors (see below), whose sum is σ = 13144. Its totient is φ = 12600.

The previous prime is 12853. The next prime is 12889. The reversal of 12871 is 17821.

Subtracting 12871 from its reverse (17821), we obtain a triangular number (4950 = T99).

12871 is nontrivially palindromic in base 9.

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

It is a semiprime because it is the product of two primes, and also an emirpimes, since its reverse is a distinct semiprime: 17821 = 71251.

It is an interprime number because it is at equal distance from previous prime (12853) and next prime (12889).

It is a cyclic number.

It is not a de Polignac number, because 12871 - 27 = 12743 is a prime.

It is a Duffinian number.

It is a nialpdrome in base 11.

It is a congruent number.

It is not an unprimeable number, because it can be changed into a prime (12821) 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, 45 + ... + 166.

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

212871 is an apocalyptic number.

12871 is the 61-st nonagonal number.

12871 is the 66-th hex number.

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

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

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

The sum of its prime factors is 272.

The product of its digits is 112, while the sum is 19.

The square root of 12871 is about 113.4504297039. The cubic root of 12871 is about 23.4353132775.

The spelling of 12871 in words is "twelve thousand, eight hundred seventy-one".

Divisors: 1 61 211 12871