Search a number
12889 is a prime number

12889 has 2 divisors, whose sum is σ = 12890. Its totient is φ = 12888.

The previous prime is 12853. The next prime is 12893. The reversal of 12889 is 98821.

12889 is digitally balanced in base 2 and base 3, because in such bases it contains all the possibile digits an equal number of times.

It is a strong prime.

It can be written as a sum of positive squares in only one way, i.e., 11664 + 1225 = 108^2 + 35^2 .

It is a cyclic number.

It is not a de Polignac number, because 12889 - 29 = 12377 is a prime.

It is a super-2 number, since 2×128892 = 332252642, which contains 22 as substring.

It is a Chen prime.

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 (12809) by changing a digit.

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

It is a good prime.

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

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

212889 is an apocalyptic number.

It is an amenable number.

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

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

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

The product of its digits is 1152, while the sum is 28.

The square root of 12889 is about 113.5297317886. The cubic root of 12889 is about 23.4462328938.

Adding to 12889 its product of digits (1152), we get a palindrome (14041).

The spelling of 12889 in words is "twelve thousand, eight hundred eighty-nine".