Search a number
-
+
240040 = 23517353
BaseRepresentation
bin111010100110101000
3110012021101
4322212220
530140130
65051144
72016553
oct724650
9405241
10240040
11154389
12b6ab4
1385348
146369a
154b1ca
hex3a9a8

240040 has 32 divisors (see below), whose sum is σ = 573480. Its totient is φ = 90112.

The previous prime is 240017. The next prime is 240041. The reversal of 240040 is 40042.

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

It can be written as a sum of positive squares in 4 ways, for example, as 209764 + 30276 = 458^2 + 174^2 .

It is a Harshad number since it is a multiple of its sum of digits (10).

It is an Ulam number.

It is a junction number, because it is equal to n+sod(n) for n = 239999 and 240026.

It is not an unprimeable number, because it can be changed into a prime (240041) 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, 504 + ... + 856.

2240040 is an apocalyptic number.

240040 is a gapful number since it is divisible by the number (20) formed by its first and last digit.

It is an amenable number.

It is a practical number, because each smaller number is the sum of distinct divisors of 240040, and also a Zumkeller number, because its divisors can be partitioned in two sets with the same sum (286740).

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

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

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

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

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

The product of its (nonzero) digits is 32, while the sum is 10.

The square root of 240040 is about 489.9387716848. The cubic root of 240040 is about 62.1481024079.

Adding to 240040 its reverse (40042), we get a palindrome (280082).

The spelling of 240040 in words is "two hundred forty thousand, forty", and thus it is an iban number.

Divisors: 1 2 4 5 8 10 17 20 34 40 68 85 136 170 340 353 680 706 1412 1765 2824 3530 6001 7060 12002 14120 24004 30005 48008 60010 120020 240040