Search a number
-
+
40142789 is a prime number
BaseRepresentation
bin1001100100100…
…0011111000101
32210112110112222
42121020133011
540234032124
63552222125
7665131241
oct231103705
983473488
1040142789
1120728965
121153a945
13841683b
14548d421
1537ce25e
hex26487c5

40142789 has 2 divisors, whose sum is σ = 40142790. Its totient is φ = 40142788.

The previous prime is 40142777. The next prime is 40142803. The reversal of 40142789 is 98724104.

It is a weak prime.

It can be written as a sum of positive squares in only one way, i.e., 27646564 + 12496225 = 5258^2 + 3535^2 .

It is a cyclic number.

It is not a de Polignac number, because 40142789 - 28 = 40142533 is a prime.

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

It is a Chen prime.

It is a congruent number.

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

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

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

Almost surely, 240142789 is an apocalyptic number.

It is an amenable number.

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

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

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

The product of its (nonzero) digits is 16128, while the sum is 35.

The square root of 40142789 is about 6335.8337257223. The cubic root of 40142789 is about 342.4016489943.

The spelling of 40142789 in words is "forty million, one hundred forty-two thousand, seven hundred eighty-nine".