Search a number
-
+
40840031 is a prime number
BaseRepresentation
bin1001101111001…
…0101101011111
32211211212222202
42123302231133
540423340111
64015202115
71004064101
oct233625537
984755882
1040840031
11210647a1
121181633b
1385cbccb
1455d1571
1538bab3b
hex26f2b5f

40840031 has 2 divisors, whose sum is σ = 40840032. Its totient is φ = 40840030.

The previous prime is 40840027. The next prime is 40840043. The reversal of 40840031 is 13004804.

It is a weak prime.

It is a cyclic number.

It is not a de Polignac number, because 40840031 - 22 = 40840027 is a prime.

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

It is a junction number, because it is equal to n+sod(n) for n = 40839985 and 40840012.

It is a congruent number.

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

It is a pernicious number, because its binary representation contains a prime number (17) of ones.

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

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

Almost surely, 240840031 is an apocalyptic number.

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

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

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

The product of its (nonzero) digits is 384, while the sum is 20.

The square root of 40840031 is about 6390.6205488982. The cubic root of 40840031 is about 344.3726778411.

Adding to 40840031 its reverse (13004804), we get a palindrome (53844835).

The spelling of 40840031 in words is "forty million, eight hundred forty thousand, thirty-one".