5065 has 4 divisors (see below), whose sum is σ = 6084.
Its totient is φ = 4048.
The previous prime is 5059. The next prime is 5077. The reversal of 5065 is 5605.
It is a happy number.
5065 is nontrivially palindromic in base 8.
It is a semiprime because it is the product of two primes.
It can be written as a sum of positive squares in 2 ways, for example, as 576 + 4489 = 24^2 + 67^2
It is a cyclic number.
It is not a de Polignac number, because 5065 - 27 = 4937 is a prime.
It is a Duffinian number.
It is a plaindrome in base 14 and base 15.
It is a congruent number.
It is an unprimeable number.
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, 502 + ... + 511.
It is an arithmetic number, because the mean of its divisors is an integer number (1521).
It is an amenable number.
5065 is a deficient number, since it is larger than the sum of its proper divisors (1019).
5065 is a wasteful number, since it uses less digits than its factorization.
5065 is an odious number, because the sum of its binary digits is odd.
The sum of its prime factors is 1018.
The product of its (nonzero) digits is 150, while the sum is 16.
The square root of 5065 is about 71.1688133946.
The cubic root of 5065 is about 17.1735396281.
The spelling of 5065 in words is "five thousand, sixty-five".