Search a number
-
+
5018 = 213193
BaseRepresentation
bin1001110011010
320212212
41032122
5130033
635122
720426
oct11632
96785
105018
113852
122aa2
132390
141b86
151748
hex139a

5018 has 8 divisors (see below), whose sum is σ = 8148. Its totient is φ = 2304.

The previous prime is 5011. The next prime is 5021. The reversal of 5018 is 8105.

It can be divided in two parts, 50 and 18, that multiplied together give a square (900 = 302).

5018 is nontrivially palindromic in base 12.

It can be written as a sum of positive squares in 2 ways, for example, as 4489 + 529 = 67^2 + 23^2 .

It is a sphenic number, since it is the product of 3 distinct primes.

It is an Ulam number.

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

It is a Curzon number.

It is a plaindrome in base 16.

It is a junction number, because it is equal to n+sod(n) for n = 4993 and 5011.

It is not an unprimeable number, because it can be changed into a prime (5011) by changing a digit.

It is a pernicious number, because its binary representation contains a prime number (7) of ones.

It is a polite number, since it can be written in 3 ways as a sum of consecutive naturals, for example, 71 + ... + 122.

25018 is an apocalyptic number.

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

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

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

The sum of its prime factors is 208.

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

The square root of 5018 is about 70.8378429937. The cubic root of 5018 is about 17.1202546036.

The spelling of 5018 in words is "five thousand, eighteen".

Divisors: 1 2 13 26 193 386 2509 5018