40051 has 6 divisors (see below), whose sum is σ = 44156.
Its totient is φ = 36300.
The previous prime is 40039. The next prime is 40063. The reversal of 40051 is 15004.
Adding to 40051 its reverse (15004), we get a palindrome (55055).
It is an interprime number because it is at equal distance from previous prime (40039) and next prime (40063).
It is not a de Polignac number, because 40051 - 213 = 31859 is a prime.
It is a Duffinian number.
It is not an unprimeable number, because it can be changed into a prime (40031) by changing a digit.
It is a polite number, since it can be written in 5 ways as a sum of consecutive naturals, for example, 45 + ... + 286.
240051 is an apocalyptic number.
40051 is the 90-th centered decagonal number.
40051 is a deficient number, since it is larger than the sum of its proper divisors (4105).
40051 is a wasteful number, since it uses less digits than its factorization.
40051 is an odious number, because the sum of its binary digits is odd.
The sum of its prime factors is 353 (or 342 counting only the distinct ones).
The product of its (nonzero) digits is 20, while the sum is 10.
The square root of 40051 is about 200.1274593853.
The cubic root of 40051 is about 34.2140475562.
The spelling of 40051 in words is "forty thousand, fifty-one".