Search a number
-
+
40171 = 172139
BaseRepresentation
bin1001110011101011
32001002211
421303223
52241141
6505551
7225055
oct116353
961084
1040171
11281aa
121b2b7
1315391
14108d5
15bd81
hex9ceb

40171 has 6 divisors (see below), whose sum is σ = 42980. Its totient is φ = 37536.

The previous prime is 40169. The next prime is 40177. The reversal of 40171 is 17104.

It is not a de Polignac number, because 40171 - 21 = 40169 is a prime.

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

It is a Duffinian number.

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

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

240171 is an apocalyptic number.

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

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

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

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

The product of its (nonzero) digits is 28, while the sum is 13.

The square root of 40171 is about 200.4270440834. The cubic root of 40171 is about 34.2481839661.

Adding to 40171 its reverse (17104), we get a palindrome (57275).

The spelling of 40171 in words is "forty thousand, one hundred seventy-one", and thus it is an iban number.

Divisors: 1 17 139 289 2363 40171