Search a number
-
+
40540 = 2252027
BaseRepresentation
bin1001111001011100
32001121111
421321130
52244130
6511404
7226123
oct117134
961544
1040540
1128505
121b564
13155b6
1410aba
15c02a
hex9e5c

40540 has 12 divisors (see below), whose sum is σ = 85176. Its totient is φ = 16208.

The previous prime is 40531. The next prime is 40543. The reversal of 40540 is 4504.

40540 = T85 + T86 + ... + T94.

It is an Ulam number.

40540 is a modest number, since divided by 540 gives 40 as remainder.

It is a self number, because there is not a number n which added to its sum of digits gives 40540.

It is a congruent number.

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

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

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

240540 is an apocalyptic number.

It is an amenable number.

40540 is an abundant number, since it is smaller than the sum of its proper divisors (44636).

It is a pseudoperfect number, because it is the sum of a subset of its proper divisors.

It is a Zumkeller number, because its divisors can be partitioned in two sets with the same sum (42588).

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

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

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

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

The square root of 40540 is about 201.3454742476. The cubic root of 40540 is about 34.3527293762.

The spelling of 40540 in words is "forty thousand, five hundred forty".

Divisors: 1 2 4 5 10 20 2027 4054 8108 10135 20270 40540