4000004 has 12 divisors (see below), whose sum is σ = 7070028.
Its totient is φ = 1980000.
The previous prime is 3999971. The next prime is 4000037.
It is a happy number.
4000004 is nontrivially palindromic in base 10.
It is an interprime number because it is at equal distance from previous prime (3999971) and next prime (4000037).
It can be written as a sum of positive squares in 2 ways, for example, as 3841600 + 158404 = 1960^2 + 398^2
It is a junction number, because it is equal to n+sod(n) for n = 3999955 and 4000000.
It is a congruent number.
It is an unprimeable number.
It is a polite number, since it can be written in 3 ways as a sum of consecutive naturals, for example, 4547 + ... + 5354.
It is an arithmetic number, because the mean of its divisors is an integer number (589169).
Almost surely, 24000004 is an apocalyptic number.
It is an amenable number.
4000004 is a deficient number, since it is larger than the sum of its proper divisors (3070024).
4000004 is a wasteful number, since it uses less digits than its factorization.
4000004 is an evil number, because the sum of its binary digits is even.
The sum of its prime factors is 10006 (or 10004 counting only the distinct ones).
The product of its (nonzero) digits is 16, while the sum is 8.
The square root of 4000004 is about 2000.0009999998.
Note that the first 3 decimals coincide.
The cubic root of 4000004 is about 158.7401581102.
It can be divided in two parts, 400000 and 4, that added together give a palindrome (400004).
The spelling of 4000004 in words is "four million, four", and thus it is an aban number and an eban number.