Search a number
-
+
40138957 is a prime number
BaseRepresentation
bin1001100100011…
…1100011001101
32210112021022001
42121013203031
540233421312
63552152301
7665114125
oct231074315
983467261
1040138957
1120725aa1
1211538691
138414b81
14548bc85
1537cd057
hex26478cd

40138957 has 2 divisors, whose sum is σ = 40138958. Its totient is φ = 40138956.

The previous prime is 40138937. The next prime is 40138991. The reversal of 40138957 is 75983104.

40138957 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., 39765636 + 373321 = 6306^2 + 611^2 .

It is a cyclic number.

It is not a de Polignac number, because 40138957 - 215 = 40106189 is a prime.

It is a super-2 number, since 2×401389572 = 3222271738095698, which contains 22 as substring.

It is a congruent number.

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

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

Almost surely, 240138957 is an apocalyptic number.

It is an amenable number.

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

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

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

The product of its (nonzero) digits is 30240, while the sum is 37.

The square root of 40138957 is about 6335.5313115792. The cubic root of 40138957 is about 342.3907535143.

The spelling of 40138957 in words is "forty million, one hundred thirty-eight thousand, nine hundred fifty-seven".