Search a number
-
+
5058 = 232281
BaseRepresentation
bin1001111000010
320221100
41033002
5130213
635230
720514
oct11702
96840
105058
113889
122b16
1323c1
141bb4
151773
hex13c2

5058 has 12 divisors (see below), whose sum is σ = 10998. Its totient is φ = 1680.

The previous prime is 5051. The next prime is 5059. The reversal of 5058 is 8505.

It can be written as a sum of positive squares in only one way, i.e., 3969 + 1089 = 63^2 + 33^2 .

It is a Harshad number since it is a multiple of its sum of digits (18), and also a Moran number because the ratio is a prime number: 281 = 5058 / (5 + 0 + 5 + 8).

It is an alternating number because its digits alternate between odd and even.

It is a plaindrome in base 11.

It is a self number, because there is not a number n which added to its sum of digits gives 5058.

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

25058 is an apocalyptic number.

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

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

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

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

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

The product of its (nonzero) digits is 200, while the sum is 18.

The square root of 5058 is about 71.1196175468. The cubic root of 5058 is about 17.1656245113.

The spelling of 5058 in words is "five thousand, fifty-eight".

Divisors: 1 2 3 6 9 18 281 562 843 1686 2529 5058