Search a number
-
+
5004 = 2232139
BaseRepresentation
bin1001110001100
320212100
41032030
5130004
635100
720406
oct11614
96770
105004
11383a
122a90
13237c
141b76
151739
hex138c

5004 has 18 divisors (see below), whose sum is σ = 12740. Its totient is φ = 1656.

The previous prime is 5003. The next prime is 5009. The reversal of 5004 is 4005.

It is a tau number, because it is divible by the number of its divisors (18).

It is a Harshad number since it is a multiple of its sum of digits (9).

It is a plaindrome in base 13 and base 16.

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 5 ways as a sum of consecutive naturals, for example, 34 + ... + 105.

It is an amenable number.

5004 is an abundant number, since it is smaller than the sum of its proper divisors (7736).

It is a pseudoperfect number, because it is the sum of a subset of its proper divisors.

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

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

The sum of its prime factors is 149 (or 144 counting only the distinct ones).

The product of its (nonzero) digits is 20, while the sum is 9.

The square root of 5004 is about 70.7389567353. The cubic root of 5004 is about 17.1043181872.

Adding to 5004 its reverse (4005), we get a palindrome (9009).

Subtracting from 5004 its reverse (4005), we obtain a palindrome (999).

The spelling of 5004 in words is "five thousand, four".

Divisors: 1 2 3 4 6 9 12 18 36 139 278 417 556 834 1251 1668 2502 5004