Search a number
-
+
40020317 is a prime number
BaseRepresentation
bin1001100010101…
…0100101011101
32210022020112222
42120222211131
540221122232
63545435125
7664111211
oct230524535
983266488
1040020317
1120654947
121149baa5
1383a2b7c
14545a941
1537a7d12
hex262a95d

40020317 has 2 divisors, whose sum is σ = 40020318. Its totient is φ = 40020316.

The previous prime is 40020307. The next prime is 40020371. The reversal of 40020317 is 71302004.

It is a happy number.

40020317 is digitally balanced in base 2, because in such base it contains all the possibile digits an equal number of times.

Together with next prime (40020371) it forms an Ormiston pair, because they use the same digits, order apart.

It is a weak prime.

It can be written as a sum of positive squares in only one way, i.e., 37773316 + 2247001 = 6146^2 + 1499^2 .

It is a cyclic number.

It is not a de Polignac number, because 40020317 - 216 = 39954781 is a prime.

It is a junction number, because it is equal to n+sod(n) for n = 40020295 and 40020304.

It is a congruent number.

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

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

Almost surely, 240020317 is an apocalyptic number.

It is an amenable number.

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

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

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

The product of its (nonzero) digits is 168, while the sum is 17.

The square root of 40020317 is about 6326.1613163118. The cubic root of 40020317 is about 342.0530821702.

The spelling of 40020317 in words is "forty million, twenty thousand, three hundred seventeen".