Search a number
-
+
40031657 is a prime number
BaseRepresentation
bin1001100010110…
…1010110101001
32210022211002222
42120231112221
540222003112
63550003425
7664156241
oct230552651
983284088
1040031657
1120662416
12114a6575
1383a8093
145460b21
1537ab372
hex262d5a9

40031657 has 2 divisors, whose sum is σ = 40031658. Its totient is φ = 40031656.

The previous prime is 40031611. The next prime is 40031713. The reversal of 40031657 is 75613004.

40031657 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., 24790441 + 15241216 = 4979^2 + 3904^2 .

It is a cyclic number.

It is not a de Polignac number, because 40031657 - 28 = 40031401 is a prime.

It is a Chen prime.

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

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

Almost surely, 240031657 is an apocalyptic number.

It is an amenable number.

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

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

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

The product of its (nonzero) digits is 2520, while the sum is 26.

The square root of 40031657 is about 6327.0575309539. The cubic root of 40031657 is about 342.0853867256.

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