40687 has 8 divisors (see below), whose sum is σ = 44640.
Its totient is φ = 36960.
The previous prime is 40639. The next prime is 40693. The reversal of 40687 is 78604.
It is a sphenic number, since it is the product of 3 distinct primes.
It is a cyclic number.
It is not a de Polignac number, because 40687 - 27 = 40559 is a prime.
It is a Duffinian number.
It is a plaindrome in base 13 and base 16.
It is a congruent number.
It is not an unprimeable number, because it can be changed into a prime (40627) by changing a digit.
It is a polite number, since it can be written in 7 ways as a sum of consecutive naturals, for example, 637 + ... + 697.
It is an arithmetic number, because the mean of its divisors is an integer number (5580).
240687 is an apocalyptic number.
40687 is a deficient number, since it is larger than the sum of its proper divisors (3953).
40687 is a wasteful number, since it uses less digits than its factorization.
40687 is an evil number, because the sum of its binary digits is even.
The sum of its prime factors is 113.
The product of its (nonzero) digits is 1344, while the sum is 25.
The square root of 40687 is about 201.7101881413.
The cubic root of 40687 is about 34.3942008432.
The spelling of 40687 in words is "forty thousand, six hundred eighty-seven".