Search a number
-
+
6840157 is a prime number
BaseRepresentation
bin11010000101111101011101
3110212111221011
4122011331131
53222341112
6402335221
7112066102
oct32057535
913774834
106840157
113952125
12235a511
13155653c
14ca0aa9
15901aa7
hex685f5d

6840157 has 2 divisors, whose sum is σ = 6840158. Its totient is φ = 6840156.

The previous prime is 6840109. The next prime is 6840161. The reversal of 6840157 is 7510486.

It is a strong prime.

It can be written as a sum of positive squares in only one way, i.e., 5433561 + 1406596 = 2331^2 + 1186^2 .

It is a cyclic number.

It is not a de Polignac number, because 6840157 - 215 = 6807389 is a prime.

It is a Chen prime.

It is a congruent number.

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

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

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

Almost surely, 26840157 is an apocalyptic number.

It is an amenable number.

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

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

6840157 is an evil number, because the sum of its binary digits is even.

The product of its (nonzero) digits is 6720, while the sum is 31.

The square root of 6840157 is about 2615.3693811774. The cubic root of 6840157 is about 189.8258515096.

The spelling of 6840157 in words is "six million, eight hundred forty thousand, one hundred fifty-seven".