Search a number
-
+
5004871 is a prime number
BaseRepresentation
bin10011000101111001000111
3100102021101121
4103011321013
52240123441
6255134411
760353314
oct23057107
910367347
105004871
112909263
121814407
131063081
14943d0b
1568cdd1
hex4c5e47

5004871 has 2 divisors, whose sum is σ = 5004872. Its totient is φ = 5004870.

The previous prime is 5004859. The next prime is 5004877. The reversal of 5004871 is 1784005.

It is a strong prime.

It is a cyclic number.

It is not a de Polignac number, because 5004871 - 29 = 5004359 is a prime.

It is an Ulam number.

5004871 is a lucky number.

It is a congruent number.

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

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

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

Almost surely, 25004871 is an apocalyptic number.

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

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

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

The product of its (nonzero) digits is 1120, while the sum is 25.

The square root of 5004871 is about 2237.1569010689. The cubic root of 5004871 is about 171.0531052643.

Adding to 5004871 its reverse (1784005), we get a palindrome (6788876).

The spelling of 5004871 in words is "five million, four thousand, eight hundred seventy-one".