Search a number
BaseRepresentation
bin1001110001001100
32000212221
421301030
52240022
6505124
7224440
oct116114
960787
1040012
1128075
121b1a4
131529b
1410820
15bcc7
hex9c4c

40012 has 12 divisors (see below), whose sum is σ = 80080. Its totient is φ = 17136.

The previous prime is 40009. The next prime is 40013. The reversal of 40012 is 21004.

Adding to 40012 its reverse (21004), we get a palindrome (61016).

It is a Harshad number since it is a multiple of its sum of digits (7).

40012 is a modest number, since divided by 12 gives 4 as remainder.

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

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

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

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

240012 is an apocalyptic number.

It is an amenable number.

40012 is a primitive abundant number, since it is smaller than the sum of its proper divisors, none of which is abundant.

It is a pseudoperfect number, because it is the sum of a subset of its proper divisors.

It is a Zumkeller number, because its divisors can be partitioned in two sets with the same sum (40040).

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

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

The sum of its prime factors is 1440 (or 1438 counting only the distinct ones).

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

The square root of 40012 is about 200.0299977503. The cubic root of 40012 is about 34.2029385435.

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

Divisors: 1 2 4 7 14 28 1429 2858 5716 10003 20006 40012