Search a number
-
+
40161 = 3111217
BaseRepresentation
bin1001110011100001
32001002110
421303201
52241121
6505533
7225042
oct116341
961073
1040161
11281a0
121b2a9
1315384
14108c9
15bd76
hex9ce1

40161 has 8 divisors (see below), whose sum is σ = 58464. Its totient is φ = 24320.

The previous prime is 40153. The next prime is 40163. The reversal of 40161 is 16104.

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

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 40161 - 23 = 40153 is a prime.

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

40161 is a lucky 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, 576 + ... + 641.

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

240161 is an apocalyptic number.

It is an amenable number.

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

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

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

The sum of its prime factors is 1231.

The product of its (nonzero) digits is 24, while the sum is 12.

The square root of 40161 is about 200.4020957974. The cubic root of 40161 is about 34.2453418639.

Adding to 40161 its reverse (16104), we get a palindrome (56265).

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

Divisors: 1 3 11 33 1217 3651 13387 40161