Search a number
40031 is a prime number
BaseRepresentation
bin1001110001011111
32000220122
421301133
52240111
6505155
7224465
oct116137
960818
1040031
1128092
121b1bb
13152b4
1410835
15bcdb
hex9c5f

40031 has 2 divisors, whose sum is σ = 40032. Its totient is φ = 40030.

The previous prime is 40013. The next prime is 40037. The reversal of 40031 is 13004.

Together with previous prime (40013) it forms an Ormiston pair, because they use the same digits, order apart.

It is a strong prime.

It is a cyclic number.

It is a de Polignac number, because none of the positive numbers 2k-40031 is a prime.

It is a super-2 number, since 2×400312 = 3204961922, which contains 22 as substring.

It is a congruent number.

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

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

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

240031 is an apocalyptic number.

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

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

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

The product of its (nonzero) digits is 12, while the sum is 8.

The square root of 40031 is about 200.0774849902. The cubic root of 40031 is about 34.2083515279.

Adding to 40031 its reverse (13004), we get a palindrome (53035).

It can be divided in two parts, 4003 and 1, that added together give a palindrome (4004).

The spelling of 40031 in words is "forty thousand, thirty-one".