Search a number
-
+
40020787 is a prime number
BaseRepresentation
bin1001100010101…
…0101100110011
32210022021012101
42120222230303
540221131122
63545441231
7664112452
oct230525463
983267171
1040020787
1120655234
12114a0217
1383a3151
14545ab99
1537a8027
hex262ab33

40020787 has 2 divisors, whose sum is σ = 40020788. Its totient is φ = 40020786.

The previous prime is 40020769. The next prime is 40020809. The reversal of 40020787 is 78702004.

40020787 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 is a cyclic number.

It is not a de Polignac number, because 40020787 - 211 = 40018739 is a prime.

It is equal to p2434843 and since 40020787 and 2434843 have the same sum of digits, it is a Honaker prime.

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

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

Almost surely, 240020787 is an apocalyptic number.

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

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

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

The product of its (nonzero) digits is 3136, while the sum is 28.

The square root of 40020787 is about 6326.1984635324. The cubic root of 40020787 is about 342.0544211928.

The spelling of 40020787 in words is "forty million, twenty thousand, seven hundred eighty-seven".