5013 has 6 divisors (see below), whose sum is σ = 7254.
Its totient is φ = 3336.
The previous prime is 5011. The next prime is 5021. The reversal of 5013 is 3105.
It can be written as a sum of positive squares in only one way, i.e., 3249 + 1764 = 57^2 + 42^2
It is not a de Polignac number, because 5013 - 21 = 5011 is a prime.
It is a Harshad number since it is a multiple of its sum of digits (9), and also a Moran number because the ratio is a prime number: 557 = 5013 / (5 + 0 + 1 + 3).
It is a plaindrome in base 13.
It is a junction number, because it is equal to n+sod(n) for n = 4986 and 5004.
It is a congruent number.
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 5 ways as a sum of consecutive naturals, for example, 270 + ... + 287.
It is an arithmetic number, because the mean of its divisors is an integer number (1209).
It is an amenable number.
5013 is a deficient number, since it is larger than the sum of its proper divisors (2241).
5013 is a wasteful number, since it uses less digits than its factorization.
5013 is an odious number, because the sum of its binary digits is odd.
The sum of its prime factors is 563 (or 560 counting only the distinct ones).
The product of its (nonzero) digits is 15, while the sum is 9.
The square root of 5013 is about 70.8025423272.
The cubic root of 5013 is about 17.1145664330.
The spelling of 5013 in words is "five thousand, thirteen".