Search a number
-
+
240642 = 23229461
BaseRepresentation
bin111010110000000010
3110020002200
4322300002
530200032
65054030
72021403
oct726002
9406080
10240642
11154886
12b7316
13856bc
14639aa
154b47c
hex3ac02

240642 has 24 divisors (see below), whose sum is σ = 540540. Its totient is φ = 77280.

The previous prime is 240641. The next prime is 240659. The reversal of 240642 is 246042.

240642 is a `hidden beast` number, since 24 + 0 + 642 = 666.

It can be written as a sum of positive squares in 2 ways, for example, as 239121 + 1521 = 489^2 + 39^2 .

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

It is an inconsummate number, since it does not exist a number n which divided by its sum of digits gives 240642.

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

It is a pernicious number, because its binary representation contains a prime number (7) of ones.

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

2240642 is an apocalyptic number.

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

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

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

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

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

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

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

The square root of 240642 is about 490.5527494572. The cubic root of 240642 is about 62.2000130961.

Adding to 240642 its reverse (246042), we get a palindrome (486684).

The spelling of 240642 in words is "two hundred forty thousand, six hundred forty-two".

Divisors: 1 2 3 6 9 18 29 58 87 174 261 461 522 922 1383 2766 4149 8298 13369 26738 40107 80214 120321 240642