31873 has 2 divisors, whose sum is σ = 31874.
Its totient is φ = 31872.
The previous prime is 31859. The next prime is 31883. The reversal of 31873 is 37813.
It is a strong prime.
It can be written as a sum of positive squares in only one way, i.e., 23409 + 8464 = 153^2 + 92^2
It is an emirp because it is prime and its reverse (37813) is a distict prime.
It is a cyclic number.
It is a de Polignac number, because none of the positive numbers 2k-31873 is a prime.
It is a plaindrome in base 13.
It is not a weakly prime, because it can be changed into another prime (31883) 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 as a sum of consecutive naturals, namely, 15936 + 15937.
It is an arithmetic number, because the mean of its divisors is an integer number (15937).
231873 is an apocalyptic number.
It is an amenable number.
31873 is a deficient number, since it is larger than the sum of its proper divisors (1).
31873 is an equidigital number, since it uses as much as digits as its factorization.
31873 is an odious number, because the sum of its binary digits is odd.
The product of its digits is 504, while the sum is 22.
The square root of 31873 is about 178.5301095054.
The cubic root of 31873 is about 31.7059653679.
The spelling of 31873 in words is "thirty-one thousand, eight hundred seventy-three".