Search a number
40007 = 113637
BaseRepresentation
bin1001110001000111
32000212202
421301013
52240012
6505115
7224432
oct116107
960782
1040007
1128070
121b19b
1315296
1410819
15bcc2
hex9c47

40007 has 4 divisors (see below), whose sum is σ = 43656. Its totient is φ = 36360.

The previous prime is 39989. The next prime is 40009. The reversal of 40007 is 70004.

Adding to 40007 its reverse (70004), we get a palindrome (110011).

40007 is digitally balanced in base 2, because in such base it contains all the possibile digits an equal number of times.

It is a semiprime because it is the product of two primes.

It is a cyclic number.

It is not a de Polignac number, because 40007 - 212 = 35911 is a prime.

It is a Harshad number since it is a multiple of its sum of digits (11), and also a Moran number because the ratio is a prime number: 3637 = 40007 / (4 + 0 + 0 + 0 + 7).

It is a Duffinian number.

It is a self number, because there is not a number n which added to its sum of digits gives 40007.

It is a congruent number.

It is not an unprimeable number, because it can be changed into a prime (40009) by changing a digit.

It is a polite number, since it can be written in 3 ways as a sum of consecutive naturals, for example, 1808 + ... + 1829.

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

240007 is an apocalyptic number.

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

40007 is a wasteful number, since it uses less digits than its factorization.

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

The sum of its prime factors is 3648.

The product of its (nonzero) digits is 28, while the sum is 11.

The square root of 40007 is about 200.0174992344. The cubic root of 40007 is about 34.2015137891.

The spelling of 40007 in words is "forty thousand, seven", and thus it is an iban number.

Divisors: 1 11 3637 40007