Search a number
-
+
30871 is a prime number
BaseRepresentation
bin111100010010111
31120100101
413202113
51441441
6354531
7156001
oct74227
946311
1030871
1121215
1215a47
1311089
14b371
159231
hex7897

30871 has 2 divisors, whose sum is σ = 30872. Its totient is φ = 30870.

The previous prime is 30869. The next prime is 30881. The reversal of 30871 is 17803.

30871 is nontrivially palindromic in base 5.

It is a weak prime.

It is a cyclic number.

It is not a de Polignac number, because 30871 - 21 = 30869 is a prime.

Together with 30869, it forms a pair of twin primes.

30871 is a lucky number.

It is a congruent number.

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

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

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

230871 is an apocalyptic number.

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

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

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

The product of its (nonzero) digits is 168, while the sum is 19.

The square root of 30871 is about 175.7014513315. The cubic root of 30871 is about 31.3701719528.

Subtracting from 30871 its product of nonzero digits (168), we obtain a palindrome (30703).

The spelling of 30871 in words is "thirty thousand, eight hundred seventy-one".