Search a number
-
+
12589 is a prime number
BaseRepresentation
bin11000100101101
3122021021
43010231
5400324
6134141
751463
oct30455
918237
1012589
119505
127351
135965
144833
153ae4
hex312d

12589 has 2 divisors, whose sum is σ = 12590. Its totient is φ = 12588.

The previous prime is 12583. The next prime is 12601. The reversal of 12589 is 98521.

12589 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., 8100 + 4489 = 90^2 + 67^2 .

It is a cyclic number.

It is not a de Polignac number, because 12589 - 213 = 4397 is a prime.

It is an alternating number because its digits alternate between odd and even.

12589 is a lucky number.

It is a plaindrome in base 10.

It is a congruent number.

It is not a weakly prime, because it can be changed into another prime (12583) by changing a digit.

It is a pernicious number, because its binary representation contains a prime number (7) of ones.

It is an upside-down number.

It is a polite number, since it can be written as a sum of consecutive naturals, namely, 6294 + 6295.

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

212589 is an apocalyptic number.

It is an amenable number.

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

12589 is an equidigital number, since it uses as much as digits as its factorization.

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

The product of its digits is 720, while the sum is 25.

The square root of 12589 is about 112.2007130102. The cubic root of 12589 is about 23.2628941466.

The spelling of 12589 in words is "twelve thousand, five hundred eighty-nine".