5127 has 4 divisors (see below), whose sum is σ = 6840.
Its totient is φ = 3416.
The previous prime is 5119. The next prime is 5147. The reversal of 5127 is 7215.
It can be divided in two parts, 51 and 27, that added together give a triangular number (78 = T12).
It is a happy number.
It is a semiprime because it is the product of two primes.
It is a cyclic number.
It is not a de Polignac number, because 5127 - 23 = 5119 is a prime.
It is a super-2 number, since 2×51272 = 52572258, which contains 22 as substring.
It is a D-number.
5127 is a lucky number.
It is a plaindrome in base 13 and base 15.
It is a congruent number.
It is not an unprimeable number, because it can be changed into a prime (5107) by changing a digit.
It is a pernicious number, because its binary representation contains a prime number (5) of ones.
It is a polite number, since it can be written in 3 ways as a sum of consecutive naturals, for example, 852 + ... + 857.
It is an arithmetic number, because the mean of its divisors is an integer number (1710).
25127 is an apocalyptic number.
5127 is a deficient number, since it is larger than the sum of its proper divisors (1713).
5127 is a wasteful number, since it uses less digits than its factorization.
5127 is an odious number, because the sum of its binary digits is odd.
The sum of its prime factors is 1712.
The product of its digits is 70, while the sum is 15.
The square root of 5127 is about 71.6030725598.
The cubic root of 5127 is about 17.2433286532.
The spelling of 5127 in words is "five thousand, one hundred twenty-seven".