Search a number
-
+
40718989 is a prime number
BaseRepresentation
bin1001101101010…
…1001010001101
32211121201221201
42123111022031
540411001424
64012425501
71003051153
oct233251215
984551851
1040718989
1120a91863
1211778291
138588b9c
14559d3d3
153894d44
hex26d528d

40718989 has 2 divisors, whose sum is σ = 40718990. Its totient is φ = 40718988.

The previous prime is 40718971. The next prime is 40719011. The reversal of 40718989 is 98981704.

It is a happy number.

40718989 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., 35497764 + 5221225 = 5958^2 + 2285^2 .

It is a cyclic number.

It is not a de Polignac number, because 40718989 - 211 = 40716941 is a prime.

It is a congruent number.

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

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

Almost surely, 240718989 is an apocalyptic number.

It is an amenable number.

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

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

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

The product of its (nonzero) digits is 145152, while the sum is 46.

The square root of 40718989 is about 6381.1432361294. The cubic root of 40718989 is about 344.0321230368.

The spelling of 40718989 in words is "forty million, seven hundred eighteen thousand, nine hundred eighty-nine".