40939 has 2 divisors, whose sum is σ = 40940.
Its totient is φ = 40938.
The previous prime is 40933. The next prime is 40949. The reversal of 40939 is 93904.
It can be divided in two parts, 409 and 39, that multiplied together give a palindrome (15951).
It is a weak prime.
It is a cyclic number.
It is not a de Polignac number, because 40939 - 29 = 40427 is a prime.
It is not a weakly prime, because it can be changed into another prime (40933) by changing a digit.
It is a polite number, since it can be written as a sum of consecutive naturals, namely, 20469 + 20470.
It is an arithmetic number, because the mean of its divisors is an integer number (20470).
240939 is an apocalyptic number.
40939 is a deficient number, since it is larger than the sum of its proper divisors (1).
40939 is an equidigital number, since it uses as much as digits as its factorization.
40939 is an evil number, because the sum of its binary digits is even.
The product of its (nonzero) digits is 972, while the sum is 25.
The square root of 40939 is about 202.3338824814.
Note that the first 3 decimals coincide.
The cubic root of 40939 is about 34.4650630011.
The spelling of 40939 in words is "forty thousand, nine hundred thirty-nine".