Search a number
-
+
40039 is a prime number
BaseRepresentation
bin1001110001100111
32000220221
421301213
52240124
6505211
7224506
oct116147
960827
1040039
112809a
121b207
13152bc
141083d
15bce4
hex9c67

40039 has 2 divisors, whose sum is σ = 40040. Its totient is φ = 40038.

The previous prime is 40037. The next prime is 40063. The reversal of 40039 is 93004.

It is a weak prime.

It is a cyclic number.

It is not a de Polignac number, because 40039 - 21 = 40037 is a prime.

It is a super-4 number, since 4×400394 = 10279994444373413764, which contains 4444 as substring.

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

It is a congruent number.

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

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

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

240039 is an apocalyptic number.

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

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

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

The product of its (nonzero) digits is 108, while the sum is 16.

The square root of 40039 is about 200.0974762460. The cubic root of 40039 is about 34.2106301668.

The spelling of 40039 in words is "forty thousand, thirty-nine".