Search a number
-
+
5040021 = 371072243
BaseRepresentation
bin10011001110011110010101
3100111001121110
4103032132111
52242240041
6300005233
760560640
oct23163625
910431543
105040021
112932708
121830819
13107607c
14952a57
15698516
hex4ce795

5040021 has 16 divisors (see below), whose sum is σ = 7755264. Its totient is φ = 2851824.

The previous prime is 5039999. The next prime is 5040031. The reversal of 5040021 is 1200405.

It is not a de Polignac number, because 5040021 - 215 = 5007253 is a prime.

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

It is a congruent number.

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

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

It is a polite number, since it can be written in 15 ways as a sum of consecutive naturals, for example, 1126 + ... + 3368.

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

Almost surely, 25040021 is an apocalyptic number.

It is an amenable number.

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

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

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

The sum of its prime factors is 2360.

The product of its (nonzero) digits is 40, while the sum is 12.

The square root of 5040021 is about 2244.9991091312. Note that the first 3 decimals coincide. The cubic root of 5040021 is about 171.4526157742.

Adding to 5040021 its reverse (1200405), we get a palindrome (6240426).

The spelling of 5040021 in words is "five million, forty thousand, twenty-one".

Divisors: 1 3 7 21 107 321 749 2243 2247 6729 15701 47103 240001 720003 1680007 5040021