Search a number
-
+
1012987 = 3141797
BaseRepresentation
bin11110111010011111011
31220110120001
43313103323
5224403422
633413431
711416213
oct3672373
91813501
101012987
11632088
1240a277
13296101
141c5243
15150227
hexf74fb

1012987 has 8 divisors (see below), whose sum is σ = 1072512. Its totient is φ = 955200.

The previous prime is 1012981. The next prime is 1012993. The reversal of 1012987 is 7892101.

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

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 1012987 - 215 = 980219 is a prime.

It is a super-2 number, since 2×10129872 = 2052285324338, which contains 22 as substring.

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

It is a Duffinian number.

1012987 is a modest number, since divided by 12987 gives 1 as remainder.

1012987 is a lucky number.

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

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

21012987 is an apocalyptic number.

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

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

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

The sum of its prime factors is 869.

The product of its (nonzero) digits is 1008, while the sum is 28.

The square root of 1012987 is about 1006.4725530286. The cubic root of 1012987 is about 100.4310393810.

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

Divisors: 1 31 41 797 1271 24707 32677 1012987