40002 has 16 divisors (see below), whose sum is σ = 82080.
Its totient is φ = 12992.
The previous prime is 39989. The next prime is 40009. The reversal of 40002 is 20004.
Adding to 40002 its reverse (20004), we get a palindrome (60006).
It can be divided in two parts, 4000 and 2, that multiplied together give a cube (8000 = 203).
40002 is an esthetic number in base 15, because in such base its adjacent digits differ by 1.
It is a Harshad number since it is a multiple of its sum of digits (6).
40002 is an undulating number in base 15.
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 7 ways as a sum of consecutive naturals, for example, 298 + ... + 410.
It is an arithmetic number, because the mean of its divisors is an integer number (5130).
240002 is an apocalyptic number.
40002 is an abundant number, since it is smaller than the sum of its proper divisors (42078).
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 (41040).
40002 is a wasteful number, since it uses less digits than its factorization.
40002 is an evil number, because the sum of its binary digits is even.
The sum of its prime factors is 177.
The product of its (nonzero) digits is 8, while the sum is 6.
The square root of 40002 is about 200.0049999375.
The cubic root of 40002 is about 34.2000889160.
The spelling of 40002 in words is "forty thousand, two", and thus it is an eban number and an iban number.