Search a number
-
+
40420157 is a prime number
BaseRepresentation
bin1001101000110…
…0001100111101
32211001120000212
42122030030331
540321421112
64002202205
71000365011
oct232141475
984046025
1040420157
11208a8298
1211653365
1384b2b6b
145522541
153836522
hex268c33d

40420157 has 2 divisors, whose sum is σ = 40420158. Its totient is φ = 40420156.

The previous prime is 40420147. The next prime is 40420231. The reversal of 40420157 is 75102404.

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

It is a weak prime.

It can be written as a sum of positive squares in only one way, i.e., 28955161 + 11464996 = 5381^2 + 3386^2 .

It is a cyclic number.

It is not a de Polignac number, because 40420157 - 216 = 40354621 is a prime.

It is a congruent number.

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

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

Almost surely, 240420157 is an apocalyptic number.

It is an amenable number.

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

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

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

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

The square root of 40420157 is about 6357.6848773748. The cubic root of 40420157 is about 343.1884516638.

The spelling of 40420157 in words is "forty million, four hundred twenty thousand, one hundred fifty-seven".