Search a number
9871 is a prime number
BaseRepresentation
bin10011010001111
3111112121
42122033
5303441
6113411
740531
oct23217
914477
109871
117464
125867
134654
143851
152dd1
hex268f

9871 has 2 divisors, whose sum is σ = 9872. Its totient is φ = 9870.

The previous prime is 9859. The next prime is 9883. The reversal of 9871 is 1789.

It is a balanced prime because it is at equal distance from previous prime (9859) and next prime (9883).

It is an emirp because it is prime and its reverse (1789) is a distict prime.

It is a cyclic number.

It is not a de Polignac number, because 9871 - 25 = 9839 is a prime.

It is a pancake number, because a pancake can be divided into 9871 parts by 140 straight cuts.

It is a plaindrome in base 9 and base 16.

It is a nialpdrome in base 10.

It is a congruent number.

It is not a weakly prime, because it can be changed into another prime (9811) by changing a digit.

It is a polite number, since it can be written as a sum of consecutive naturals, namely, 4935 + 4936.

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

29871 is an apocalyptic number.

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

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

9871 is an evil number, because the sum of its binary digits is even.

The product of its digits is 504, while the sum is 25.

The square root of 9871 is about 99.3529063490. The cubic root of 9871 is about 21.4513049740.

It can be divided in two parts, 98 and 71, that added together give a square (169 = 132).

The spelling of 9871 in words is "nine thousand, eight hundred seventy-one".