40958 has 4 divisors (see below), whose sum is σ = 61440.
Its totient is φ = 20478.
The previous prime is 40949. The next prime is 40961. The reversal of 40958 is 85904.
It is a semiprime because it is the product of two primes.
It is a congruent number.
It is an unprimeable number.
It is a pernicious number, because its binary representation contains a prime number (13) of ones.
It is a polite number, since it can be written as a sum of consecutive naturals, namely, 10238 + ... + 10241.
It is an arithmetic number, because the mean of its divisors is an integer number (15360).
240958 is an apocalyptic number.
40958 is a deficient number, since it is larger than the sum of its proper divisors (20482).
40958 is a wasteful number, since it uses less digits than its factorization.
40958 is an odious number, because the sum of its binary digits is odd.
The sum of its prime factors is 20481.
The product of its (nonzero) digits is 1440, while the sum is 26.
The square root of 40958 is about 202.3808291316.
The cubic root of 40958 is about 34.4703939807.
The spelling of 40958 in words is "forty thousand, nine hundred fifty-eight".