5122 has 8 divisors (see below), whose sum is σ = 8316.
Its totient is φ = 2352.
The previous prime is 5119. The next prime is 5147. The reversal of 5122 is 2215.
It can be written as a sum of positive squares in 2 ways, for example, as 5041 + 81 = 71^2 + 9^2
It is a sphenic number, since it is the product of 3 distinct primes.
5122 is an undulating number in base 14.
It is a junction number, because it is equal to n+sod(n) for n = 5099 and 5108.
It is an unprimeable number.
It is a pernicious number, because its binary representation contains a prime number (3) of ones.
It is a polite number, since it can be written in 3 ways as a sum of consecutive naturals, for example, 73 + ... + 124.
5122 is a deficient number, since it is larger than the sum of its proper divisors (3194).
5122 is a wasteful number, since it uses less digits than its factorization.
5122 is an odious number, because the sum of its binary digits is odd.
The sum of its prime factors is 212.
The product of its digits is 20, while the sum is 10.
The square root of 5122 is about 71.5681493403.
The cubic root of 5122 is about 17.2377214309.
Adding to 5122 its reverse (2215), we get a palindrome (7337).
It can be divided in two parts, 512 and 2, that multiplied together give a 10-th power (1024 = 210).
The spelling of 5122 in words is "five thousand, one hundred twenty-two".