Search a number
-
+
40166389 is a prime number
BaseRepresentation
bin1001100100111…
…0001111110101
32210120122221001
42121032033311
540240311024
63552523301
7665260114
oct231161765
983518831
1040166389
112074466a
1211550531
1384244c3
145497c7b
1537d6244
hex264e3f5

40166389 has 2 divisors, whose sum is σ = 40166390. Its totient is φ = 40166388.

The previous prime is 40166383. The next prime is 40166411. The reversal of 40166389 is 98366104.

It is a weak prime.

It can be written as a sum of positive squares in only one way, i.e., 28708164 + 11458225 = 5358^2 + 3385^2 .

It is a cyclic number.

It is not a de Polignac number, because 40166389 - 23 = 40166381 is a prime.

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

It is a congruent number.

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

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

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

Almost surely, 240166389 is an apocalyptic number.

It is an amenable number.

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

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

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

The product of its (nonzero) digits is 31104, while the sum is 37.

The square root of 40166389 is about 6337.6958746851. The cubic root of 40166389 is about 342.4687353137.

The spelling of 40166389 in words is "forty million, one hundred sixty-six thousand, three hundred eighty-nine".