5045 has 4 divisors (see below), whose sum is σ = 6060.
Its totient is φ = 4032.
The previous prime is 5039. The next prime is 5051. The reversal of 5045 is 5405.
5045 = 402 + 412 + 422.
It is a semiprime because it is the product of two primes.
It is an interprime number because it is at equal distance from previous prime (5039) and next prime (5051).
It can be written as a sum of positive squares in 2 ways, for example, as 1681 + 3364 = 41^2 + 58^2
It is a cyclic number.
It is not a de Polignac number, because 5045 - 28 = 4789 is a prime.
5045 is a modest number, since divided by 45 gives 5 as remainder.
It is a Curzon number.
It is a congruent number.
It is an unprimeable number.
It is a polite number, since it can be written in 3 ways as a sum of consecutive naturals, for example, 500 + ... + 509.
It is an arithmetic number, because the mean of its divisors is an integer number (1515).
It is an amenable number.
5045 is a deficient number, since it is larger than the sum of its proper divisors (1015).
5045 is a wasteful number, since it uses less digits than its factorization.
5045 is an evil number, because the sum of its binary digits is even.
The sum of its prime factors is 1014.
The product of its (nonzero) digits is 100, while the sum is 14.
The square root of 5045 is about 71.0281634283.
The cubic root of 5045 is about 17.1509056122.
The spelling of 5045 in words is "five thousand, forty-five".