31004 has 12 divisors (see below), whose sum is σ = 56784.
Its totient is φ = 14784.
The previous prime is 30983. The next prime is 31013. The reversal of 31004 is 40013.
Adding to 31004 its reverse (40013), we get a palindrome (71017).
Subtracting 31004 from its reverse (40013), we obtain a palindrome (9009).
31004 = T40 + T41 + ... +
It is a super-2 number, since 2×310042 = 1922496032, which contains 22 as substring.
It is a plaindrome in base 13.
It is a junction number, because it is equal to n+sod(n) for n = 30982 and 31000.
It is a congruent number.
It is an unprimeable number.
It is a polite number, since it can be written in 3 ways as a sum of consecutive naturals, for example, 77 + ... + 260.
It is an arithmetic number, because the mean of its divisors is an integer number (4732).
231004 is an apocalyptic number.
It is an amenable number.
31004 is a deficient number, since it is larger than the sum of its proper divisors (25780).
31004 is a wasteful number, since it uses less digits than its factorization.
31004 is an evil number, because the sum of its binary digits is even.
The sum of its prime factors is 364 (or 362 counting only the distinct ones).
The product of its (nonzero) digits is 12, while the sum is 8.
The square root of 31004 is about 176.0795274869.
The cubic root of 31004 is about 31.4151575973.
The spelling of 31004 in words is "thirty-one thousand, four".