Search a number
12157 is a prime number

12157 has 2 divisors, whose sum is σ = 12158. Its totient is φ = 12156.

The previous prime is 12149. The next prime is 12161. The reversal of 12157 is 75121.

12157 is nontrivially palindromic in base 7.

12157 is digitally balanced in base 3, because in such base 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., 7396 + 4761 = 86^2 + 69^2 .

It is a cyclic number.

It is not a de Polignac number, because 12157 - 23 = 12149 is a prime.

It is a self number, because there is not a number n which added to its sum of digits gives 12157.

It is a congruent number.

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

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

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

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

It is an amenable number.

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

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

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

The product of its digits is 70, while the sum is 16.

The square root of 12157 is about 110.2587864979. The cubic root of 12157 is about 22.9936970757.

Adding to 12157 its reverse (75121), we get a palindrome (87278).

It can be divided in two parts, 12 and 157, that added together give a square (169 = 132).

The spelling of 12157 in words is "twelve thousand, one hundred fifty-seven".