40289 has 2 divisors, whose sum is σ = 40290.
Its totient is φ = 40288.
The previous prime is 40283. The next prime is 40343. The reversal of 40289 is 98204.
40289 is digitally balanced in base 2, because in such base it contains all the possibile digits an equal number of times.
It is a weak prime.
It can be written as a sum of positive squares in only one way, i.e., 40000 + 289 = 200^2 + 17^2
It is a cyclic number.
It is a de Polignac number, because none of the positive numbers 2k-40289 is a prime.
It is a Chen prime.
It is an Ulam number.
It is a congruent number.
It is not a weakly prime, because it can be changed into another prime (40283) by changing a digit.
It is a polite number, since it can be written as a sum of consecutive naturals, namely, 20144 + 20145.
It is an arithmetic number, because the mean of its divisors is an integer number (20145).
240289 is an apocalyptic number.
It is an amenable number.
40289 is a deficient number, since it is larger than the sum of its proper divisors (1).
40289 is an equidigital number, since it uses as much as digits as its factorization.
40289 is an evil number, because the sum of its binary digits is even.
The product of its (nonzero) digits is 576, while the sum is 23.
The square root of 40289 is about 200.7211996776.
The cubic root of 40289 is about 34.2816852078.
It can be divided in two parts, 402 and 89, that multiplied together give a triangular number (35778 = T267).
The spelling of 40289 in words is "forty thousand, two hundred eighty-nine".