40045 has 4 divisors (see below), whose sum is σ = 48060.
Its totient is φ = 32032.
The previous prime is 40039. The next prime is 40063. The reversal of 40045 is 54004.
Adding to 40045 its reverse (54004), we get a palindrome (94049).
40045 = 1412 + 1422.
It is a semiprime because it is the product of two primes.
It can be written as a sum of positive squares in 2 ways, for example, as 20164 + 19881 = 142^2 + 141^2
It is a cyclic number.
It is not a de Polignac number, because 40045 - 23 = 40037 is a prime.
40045 is a modest number, since divided by 45 gives 40 as remainder.
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, 4000 + ... + 4009.
It is an arithmetic number, because the mean of its divisors is an integer number (12015).
240045 is an apocalyptic number.
40045 is the 142-nd centered square number.
It is an amenable number.
40045 is a deficient number, since it is larger than the sum of its proper divisors (8015).
40045 is an equidigital number, since it uses as much as digits as its factorization.
40045 is an odious number, because the sum of its binary digits is odd.
The sum of its prime factors is 8014.
The product of its (nonzero) digits is 80, while the sum is 13.
The square root of 40045 is about 200.1124683772.
The cubic root of 40045 is about 34.2123389468.
The spelling of 40045 in words is "forty thousand, forty-five".