Search a number
-
+
5012987 = 7733977
BaseRepresentation
bin10011000111110111111011
3100102200112012
4103013313323
52240403422
6255240135
760416060
oct23076773
910380465
105012987
112914371
12181904b
131066985
14946c67
156904e2
hex4c7dfb

5012987 has 8 divisors (see below), whose sum is σ = 5742816. Its totient is φ = 4286592.

The previous prime is 5012981. The next prime is 5012993. The reversal of 5012987 is 7892105.

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

It is a sphenic number, since it is the product of 3 distinct primes.

It is a cyclic number.

It is not a de Polignac number, because 5012987 - 24 = 5012971 is a prime.

It is an alternating number because its digits alternate between odd and even.

It is a Duffinian number.

5012987 is a modest number, since divided by 12987 gives 5 as remainder.

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

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

Almost surely, 25012987 is an apocalyptic number.

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

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

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

The sum of its prime factors is 1717.

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

The square root of 5012987 is about 2238.9700757268. The cubic root of 5012987 is about 171.1455163883.

The spelling of 5012987 in words is "five million, twelve thousand, nine hundred eighty-seven".

Divisors: 1 7 733 977 5131 6839 716141 5012987