Search a number
-
+
40040017 is a prime number
BaseRepresentation
bin1001100010111…
…1011001010001
32210100020120121
42120233121101
540222240032
63550110241
7664222513
oct230573121
983306517
1040040017
1120668726
12114ab381
1383abb24
145463bb3
1537ada97
hex262f651

40040017 has 2 divisors, whose sum is σ = 40040018. Its totient is φ = 40040016.

The previous prime is 40039999. The next prime is 40040027. The reversal of 40040017 is 71004004.

It is a happy number.

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

It is a strong prime.

It can be written as a sum of positive squares in only one way, i.e., 38950081 + 1089936 = 6241^2 + 1044^2 .

It is a cyclic number.

It is a de Polignac number, because none of the positive numbers 2k-40040017 is a prime.

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

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

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

Almost surely, 240040017 is an apocalyptic number.

It is an amenable number.

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

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

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

The product of its (nonzero) digits is 112, while the sum is 16.

The square root of 40040017 is about 6327.7181511189. The cubic root of 40040017 is about 342.1091981705.

The spelling of 40040017 in words is "forty million, forty thousand, seventeen".