5021 has 2 divisors, whose sum is σ = 5022.
Its totient is φ = 5020.
The previous prime is 5011. The next prime is 5023. The reversal of 5021 is 1205.
It is a strong prime.
It can be written as a sum of positive squares in only one way, i.e., 4900 + 121 = 70^2 + 11^2
It is a cyclic number.
It is not a de Polignac number, because 5021 - 26 = 4957 is a prime.
Together with 5023, it forms a pair of twin primes.
It is a Chen prime.
It is a plaindrome in base 9 and base 16.
It is a congruent number.
It is not a weakly prime, because it can be changed into another prime (5023) by changing a digit.
It is a polite number, since it can be written as a sum of consecutive naturals, namely, 2510 + 2511.
It is an arithmetic number, because the mean of its divisors is an integer number (2511).
25021 is an apocalyptic number.
It is an amenable number.
5021 is a deficient number, since it is larger than the sum of its proper divisors (1).
5021 is an equidigital number, since it uses as much as digits as its factorization.
5021 is an evil number, because the sum of its binary digits is even.
The product of its (nonzero) digits is 10, while the sum is 8.
The square root of 5021 is about 70.8590149522.
The cubic root of 5021 is about 17.1236656925.
Adding to 5021 its reverse (1205), we get a palindrome (6226).
The spelling of 5021 in words is "five thousand, twenty-one".