40842 has 12 divisors (see below), whose sum is σ = 88530. Its totient is φ = 13608.
The previous prime is 40841. The next prime is 40847. The reversal of 40842 is 24804.
It is a happy number.
It can be written as a sum of positive squares in only one way, i.e., 40401 + 441 = 201^2 + 21^2 .
It is a Harshad number since it is a multiple of its sum of digits (18), and also a Moran number because the ratio is a prime number: 2269 = 40842 / (4 + 0 + 8 + 4 + 2).
It is a plaindrome in base 13.
It is an inconsummate number, since it does not exist a number n which divided by its sum of digits gives 40842.
It is not an unprimeable number, because it can be changed into a prime (40841) 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, 1117 + ... + 1152.
240842 is an apocalyptic number.
40842 is an abundant number, since it is smaller than the sum of its proper divisors (47688).
It is a pseudoperfect number, because it is the sum of a subset of its proper divisors.
40842 is a wasteful number, since it uses less digits than its factorization.
40842 is an odious number, because the sum of its binary digits is odd.
The sum of its prime factors is 2277 (or 2274 counting only the distinct ones).
The product of its (nonzero) digits is 256, while the sum is 18.
The square root of 40842 is about 202.0940375172. The cubic root of 40842 is about 34.4378212108.
The spelling of 40842 in words is "forty thousand, eight hundred forty-two".
• e-mail: info -at- numbersaplenty.com • Privacy notice • done in 0.000 sec. • engine limits •