Search a number
-
+
40166586 = 2322231477
BaseRepresentation
bin1001100100111…
…0010010111010
32210120200012100
42121032102322
540240312321
63552524230
7665260515
oct231162272
983520170
1040166586
1120744829
1211550676
138424615
145497d7c
1537d6326
hex264e4ba

40166586 has 12 divisors (see below), whose sum is σ = 87027642. Its totient is φ = 13388856.

The previous prime is 40166573. The next prime is 40166587. The reversal of 40166586 is 68566104.

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

It can be written as a sum of positive squares in only one way, i.e., 35462025 + 4704561 = 5955^2 + 2169^2 .

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

It is a Curzon number.

It is a self number, because there is not a number n which added to its sum of digits gives 40166586.

It is not an unprimeable number, because it can be changed into a prime (40166587) 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 in 5 ways as a sum of consecutive naturals, for example, 1115721 + ... + 1115756.

Almost surely, 240166586 is an apocalyptic number.

40166586 is an abundant number, since it is smaller than the sum of its proper divisors (46861056).

It is a pseudoperfect number, because it is the sum of a subset of its proper divisors.

40166586 is a wasteful number, since it uses less digits than its factorization.

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

The sum of its prime factors is 2231485 (or 2231482 counting only the distinct ones).

The product of its (nonzero) digits is 34560, while the sum is 36.

The square root of 40166586 is about 6337.7114165920. The cubic root of 40166586 is about 342.4692952033.

The spelling of 40166586 in words is "forty million, one hundred sixty-six thousand, five hundred eighty-six".

Divisors: 1 2 3 6 9 18 2231477 4462954 6694431 13388862 20083293 40166586