5227 has 2 divisors, whose sum is σ = 5228.
Its totient is φ = 5226.
The previous prime is 5209. The next prime is 5231. The reversal of 5227 is 7225.
It is a happy number.
It is a strong prime.
It is a cyclic number.
It is not a de Polignac number, because 5227 - 27 = 5099 is a prime.
It is a plaindrome in base 16.
It is a self number, because there is not a number n which added to its sum of digits gives 5227.
It is not a weakly prime, because it can be changed into another prime (5237) 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 as a sum of consecutive naturals, namely, 2613 + 2614.
It is an arithmetic number, because the mean of its divisors is an integer number (2614).
5227 is a deficient number, since it is larger than the sum of its proper divisors (1).
5227 is an equidigital number, since it uses as much as digits as its factorization.
5227 is an odious number, because the sum of its binary digits is odd.
The product of its digits is 140, while the sum is 16.
The square root of 5227 is about 72.2979944397.
The cubic root of 5227 is about 17.3547155583.
It can be divided in two parts, 522 and 7, that added together give a square (529 = 232).
The spelling of 5227 in words is "five thousand, two hundred twenty-seven".