Search a number
-
+
40589 = 371097
BaseRepresentation
bin1001111010001101
32001200022
421322031
52244324
6511525
7226223
oct117215
961608
1040589
112854a
121b5a5
1315623
1410b13
15c05e
hex9e8d

40589 has 4 divisors (see below), whose sum is σ = 41724. Its totient is φ = 39456.

The previous prime is 40583. The next prime is 40591. The reversal of 40589 is 98504.

It is a semiprime because it is the product of two primes.

It can be written as a sum of positive squares in 2 ways, for example, as 24964 + 15625 = 158^2 + 125^2 .

It is a cyclic number.

It is not a de Polignac number, because 40589 - 212 = 36493 is a prime.

It is an Ulam number.

It is a Duffinian number.

It is a congruent number.

It is not an unprimeable number, because it can be changed into a prime (40583) by changing a digit.

It is a polite number, since it can be written in 3 ways as a sum of consecutive naturals, for example, 512 + ... + 585.

It is an arithmetic number, because the mean of its divisors is an integer number (10431).

240589 is an apocalyptic number.

It is an amenable number.

40589 is a deficient number, since it is larger than the sum of its proper divisors (1135).

40589 is a wasteful number, since it uses less digits than its factorization.

40589 is an odious number, because the sum of its binary digits is odd.

The sum of its prime factors is 1134.

The product of its (nonzero) digits is 1440, while the sum is 26.

The square root of 40589 is about 201.4671189053. The cubic root of 40589 is about 34.3665643212.

It can be divided in two parts, 405 and 89, that added together give a palindrome (494).

The spelling of 40589 in words is "forty thousand, five hundred eighty-nine".

Divisors: 1 37 1097 40589