Search a number
BaseRepresentation
bin1001110001111
320212110
41032033
5130012
635103
720412
oct11617
96773
105007
113842
122a93
132382
141b79
15173c
hex138f

5007 has 4 divisors (see below), whose sum is σ = 6680. Its totient is φ = 3336.

The previous prime is 5003. The next prime is 5009. The reversal of 5007 is 7005.

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

It is not a de Polignac number, because 5007 - 22 = 5003 is a prime.

It is a D-number.

It is a Duffinian number.

5007 is a lucky number.

It is a plaindrome in base 16.

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

It is a congruent number.

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

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

25007 is an apocalyptic number.

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

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

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

The sum of its prime factors is 1672.

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

The square root of 5007 is about 70.7601582813. The cubic root of 5007 is about 17.1077356335.

The spelling of 5007 in words is "five thousand, seven".

Divisors: 1 3 1669 5007