5009 has 2 divisors, whose sum is σ = 5010. Its totient is φ = 5008.

The previous prime is 5003. The next prime is 5011. The reversal of 5009 is 9005.

It is a strong prime.

It can be written as a sum of positive squares in only one way, i.e., 4225 + 784 = 65^2 + 28^2 .

It is a cyclic number.

It is not a de Polignac number, because 5009 - 2^{4} = 4993 is a prime.

Together with 5011, it forms a pair of twin primes.

It is a Chen prime.

5009 is a modest number, since divided by 9 gives 5 as remainder.

It is equal to p_{671} and since 5009 and 671 have the same sum of digits, it is a Honaker prime.

It is a junction number, because it is equal to *n*+sod(*n*) for *n* = 4984 and 5002.

It is not a weakly prime, because it can be changed into another prime (5003) by changing a digit.

It is a polite number, since it can be written as a sum of consecutive naturals, namely, 2504 + 2505.

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

2^{5009} is an apocalyptic number.

It is an amenable number.

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

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

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

The product of its (nonzero) digits is 45, while the sum is 14.

The square root of 5009 is about 70.7742891169. The cubic root of 5009 is about 17.1100131727.

The spelling of 5009 in words is "five thousand, nine".

• e-mail: info -at- numbersaplenty.com • Privacy notice • done in 0.032 sec. • engine limits •