Search a number
-
+
505157 is a prime number
BaseRepresentation
bin1111011010101000101
3221122221112
41323111011
5112131112
614454405
74202522
oct1732505
9848845
10505157
11315594
12204405
13148c13
14d2149
159ea22
hex7b545

505157 has 2 divisors, whose sum is σ = 505158. Its totient is φ = 505156.

The previous prime is 505139. The next prime is 505159. The reversal of 505157 is 751505.

It is a strong prime.

It can be written as a sum of positive squares in only one way, i.e., 261121 + 244036 = 511^2 + 494^2 .

It is a cyclic number.

It is not a de Polignac number, because 505157 - 28 = 504901 is a prime.

It is a super-3 number, since 3×5051573 = 386723337366314679, which contains 333 as substring.

Together with 505159, it forms a pair of twin primes.

It is a Chen prime.

It is a congruent number.

It is not a weakly prime, because it can be changed into another prime (505159) 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, 252578 + 252579.

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

2505157 is an apocalyptic number.

It is an amenable number.

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

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

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

The product of its (nonzero) digits is 875, while the sum is 23.

The square root of 505157 is about 710.7439764078. The cubic root of 505157 is about 79.6419940365.

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