40336 has 10 divisors (see below), whose sum is σ = 78182.
Its totient is φ = 20160.
The previous prime is 40289. The next prime is 40343. The reversal of 40336 is 63304.
It is a happy number.
It can be written as a sum of positive squares in only one way, i.e., 20736 + 19600 = 144^2 + 140^2
It is a Harshad number since it is a multiple of its sum of digits (16), and also a Moran number because the ratio is a prime number: 2521 = 40336 / (4 + 0 + 3 + 3 + 6).
It is an unprimeable number.
It is a pernicious number, because its binary representation contains a prime number (7) of ones.
It is a polite number, since it can be written as a sum of consecutive naturals, namely, 1245 + ... + 1276.
240336 is an apocalyptic number.
It is an amenable number.
40336 is a deficient number, since it is larger than the sum of its proper divisors (37846).
40336 is a wasteful number, since it uses less digits than its factorization.
40336 is an odious number, because the sum of its binary digits is odd.
The sum of its prime factors is 2529 (or 2523 counting only the distinct ones).
The product of its (nonzero) digits is 216, while the sum is 16.
The square root of 40336 is about 200.8382433701.
The cubic root of 40336 is about 34.2950107066.
The spelling of 40336 in words is "forty thousand, three hundred thirty-six".