Search a number
-
+
40239 = 3217263
BaseRepresentation
bin1001110100101111
32001012100
421310233
52241424
6510143
7225213
oct116457
961170
1040239
1128261
121b353
1315414
1410943
15bdc9
hex9d2f

40239 has 12 divisors (see below), whose sum is σ = 61776. Its totient is φ = 25152.

The previous prime is 40237. The next prime is 40241. The reversal of 40239 is 93204.

It is an interprime number because it is at equal distance from previous prime (40237) and next prime (40241).

It is not a de Polignac number, because 40239 - 21 = 40237 is a prime.

It is a congruent number.

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

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

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

240239 is an apocalyptic number.

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

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

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

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

The product of its (nonzero) digits is 216, while the sum is 18.

The square root of 40239 is about 200.5966101408. The cubic root of 40239 is about 34.2674977635.

It can be divided in two parts, 402 and 39, that added together give a square (441 = 212).

The spelling of 40239 in words is "forty thousand, two hundred thirty-nine".

Divisors: 1 3 9 17 51 153 263 789 2367 4471 13413 40239