Search a number
-
+
5040257 is a prime number
BaseRepresentation
bin10011001110100010000001
3100111001221012
4103032202001
52242242012
6300010305
760561425
oct23164201
910431835
105040257
112932902
121830995
131076201
14952b85
15698622
hex4ce881

5040257 has 2 divisors, whose sum is σ = 5040258. Its totient is φ = 5040256.

The previous prime is 5040241. The next prime is 5040317. The reversal of 5040257 is 7520405.

It is a weak prime.

It can be written as a sum of positive squares in only one way, i.e., 2876416 + 2163841 = 1696^2 + 1471^2 .

It is a cyclic number.

It is not a de Polignac number, because 5040257 - 24 = 5040241 is a prime.

It is an Ulam number.

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

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

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

Almost surely, 25040257 is an apocalyptic number.

It is an amenable number.

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

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

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

The product of its (nonzero) digits is 1400, while the sum is 23.

The square root of 5040257 is about 2245.0516697840. The cubic root of 5040257 is about 171.4552918336.

The spelling of 5040257 in words is "five million, forty thousand, two hundred fifty-seven".