Search a number
-
+
40165 = 529277
BaseRepresentation
bin1001110011100101
32001002121
421303211
52241130
6505541
7225046
oct116345
961077
1040165
11281a4
121b2b1
1315388
14108cd
15bd7a
hex9ce5

40165 has 8 divisors (see below), whose sum is σ = 50040. Its totient is φ = 30912.

The previous prime is 40163. The next prime is 40169. The reversal of 40165 is 56104.

40165 is nontrivially palindromic in base 12.

It can be written as a sum of positive squares in 4 ways, for example, as 961 + 39204 = 31^2 + 198^2 .

It is a sphenic number, since it is the product of 3 distinct primes.

It is a cyclic number.

It is not a de Polignac number, because 40165 - 21 = 40163 is a prime.

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

40165 is a lucky number.

It is a congruent number.

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

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

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

240165 is an apocalyptic number.

It is an amenable number.

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

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

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

The sum of its prime factors is 311.

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

The square root of 40165 is about 200.4120754845. The cubic root of 40165 is about 34.2464787614.

Adding to 40165 its reverse (56104), we get a palindrome (96269).

The spelling of 40165 in words is "forty thousand, one hundred sixty-five".

Divisors: 1 5 29 145 277 1385 8033 40165