Search a number
-
+
40508989 is a prime number
BaseRepresentation
bin1001101010000…
…1111000111101
32211020001212221
42122201320331
540332241424
64004125341
71001215003
oct232417075
984201787
1040508989
1120959004
1211696851
138514421
145546a73
1538529e4
hex26a1e3d

40508989 has 2 divisors, whose sum is σ = 40508990. Its totient is φ = 40508988.

The previous prime is 40508959. The next prime is 40509019. The reversal of 40508989 is 98980504.

It is a happy number.

It is a balanced prime because it is at equal distance from previous prime (40508959) and next prime (40509019).

It can be written as a sum of positive squares in only one way, i.e., 34047225 + 6461764 = 5835^2 + 2542^2 .

It is a cyclic number.

It is not a de Polignac number, because 40508989 - 29 = 40508477 is a prime.

It is a congruent number.

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

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

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

Almost surely, 240508989 is an apocalyptic number.

It is an amenable number.

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

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

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

The product of its (nonzero) digits is 103680, while the sum is 43.

The square root of 40508989 is about 6364.6672340351. The cubic root of 40508989 is about 343.4396778898.

The spelling of 40508989 in words is "forty million, five hundred eight thousand, nine hundred eighty-nine".