Search a number
-
+
5040787 = 7170997
BaseRepresentation
bin10011001110101010010011
3100111002122211
4103032222103
52242301122
6300012551
760563113
oct23165223
910432584
105040787
112933244
121831157
13107651b
14953043
15698877
hex4cea93

5040787 has 4 divisors (see below), whose sum is σ = 5111856. Its totient is φ = 4969720.

The previous prime is 5040781. The next prime is 5040793. The reversal of 5040787 is 7870405.

It is a happy number.

It is a semiprime because it is the product of two primes.

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

It is a cyclic number.

It is not a de Polignac number, because 5040787 - 23 = 5040779 is a prime.

It is a Duffinian number.

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

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

Almost surely, 25040787 is an apocalyptic number.

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

5040787 is an equidigital number, since it uses as much as digits as its factorization.

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

The sum of its prime factors is 71068.

The product of its (nonzero) digits is 7840, while the sum is 31.

The square root of 5040787 is about 2245.1697040536. The cubic root of 5040787 is about 171.4613013234.

The spelling of 5040787 in words is "five million, forty thousand, seven hundred eighty-seven".

Divisors: 1 71 70997 5040787