Search a number
-
+
40704165 = 3254332089
BaseRepresentation
bin1001101101000…
…1100010100101
32211120222121200
42123101202211
540410013130
64012233113
71002660015
oct233214245
984528550
1040704165
1120a81707
121176b799
138582208
145597c45
153890760
hex26d18a5

40704165 has 24 divisors (see below), whose sum is σ = 70750680. Its totient is φ = 21648384.

The previous prime is 40704163. The next prime is 40704193. The reversal of 40704165 is 56140704.

It can be written as a sum of positive squares in 4 ways, for example, as 3944196 + 36759969 = 1986^2 + 6063^2 .

It is not a de Polignac number, because 40704165 - 21 = 40704163 is a prime.

It is a congruent number.

It is not an unprimeable number, because it can be changed into a prime (40704161) by changing a digit.

It is a polite number, since it can be written in 23 ways as a sum of consecutive naturals, for example, 18441 + ... + 20529.

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

Almost surely, 240704165 is an apocalyptic number.

40704165 is a gapful number since it is divisible by the number (45) formed by its first and last digit.

It is an amenable number.

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

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

40704165 is an evil number, because the sum of its binary digits is even.

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

The product of its (nonzero) digits is 3360, while the sum is 27.

The square root of 40704165 is about 6379.9815830455. The cubic root of 40704165 is about 343.9903689615.

Adding to 40704165 its reverse (56140704), we get a palindrome (96844869).

The spelling of 40704165 in words is "forty million, seven hundred four thousand, one hundred sixty-five".

Divisors: 1 3 5 9 15 45 433 1299 2089 2165 3897 6267 6495 10445 18801 19485 31335 94005 904537 2713611 4522685 8140833 13568055 40704165