40495 has 16 divisors (see below), whose sum is σ = 60480.
Its totient is φ = 25344.
The previous prime is 40493. The next prime is 40499. The reversal of 40495 is 59404.
It is a cyclic number.
It is not a de Polignac number, because 40495 - 21 = 40493 is a prime.
It is a Sastry number since concatenated with its successor gives a square.
It is a congruent number.
It is not an unprimeable number, because it can be changed into a prime (40493) by changing a digit.
It is a nontrivial repunit in base 34.
It is a polite number, since it can be written in 15 ways as a sum of consecutive naturals, for example, 411 + ... + 499.
It is an arithmetic number, because the mean of its divisors is an integer number (3780).
240495 is an apocalyptic number.
40495 is a deficient number, since it is larger than the sum of its proper divisors (19985).
40495 is a wasteful number, since it uses less digits than its factorization.
40495 is an evil number, because the sum of its binary digits is even.
The sum of its prime factors is 114.
The product of its (nonzero) digits is 720, while the sum is 22.
The square root of 40495 is about 201.2336949917.
The cubic root of 40495 is about 34.3400139910.
Adding to 40495 its reverse (59404), we get a palindrome (99899).
It can be divided in two parts, 40 and 495, that added together give a palindrome (535).
The spelling of 40495 in words is "forty thousand, four hundred ninety-five".