Search a number
-
+
540157 is a prime number
BaseRepresentation
bin10000011110111111101
31000102221211
42003313331
5114241112
615324421
74406542
oct2036775
91012854
10540157
11339912
12220711
1315bb27
14100bc9
15aa0a7
hex83dfd

540157 has 2 divisors, whose sum is σ = 540158. Its totient is φ = 540156.

The previous prime is 540149. The next prime is 540167. The reversal of 540157 is 751045.

It is a weak prime.

It can be written as a sum of positive squares in only one way, i.e., 329476 + 210681 = 574^2 + 459^2 .

It is a cyclic number.

It is not a de Polignac number, because 540157 - 23 = 540149 is a prime.

It is a Chen prime.

It is equal to p44581 and since 540157 and 44581 have the same sum of digits, it is a Honaker prime.

It is a congruent number.

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

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

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

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

2540157 is an apocalyptic number.

It is an amenable number.

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

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

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

The product of its (nonzero) digits is 700, while the sum is 22.

The square root of 540157 is about 734.9537400408. The cubic root of 540157 is about 81.4404196510.

The spelling of 540157 in words is "five hundred forty thousand, one hundred fifty-seven".