5042 has 4 divisors (see below), whose sum is σ = 7566.
Its totient is φ = 2520.
The previous prime is 5039. The next prime is 5051. The reversal of 5042 is 2405.
It is a Cunningham number, because it is equal to 712+1.
It is a semiprime because it is the product of two primes.
It can be written as a sum of positive squares in only one way, i.e., 5041 + 1 = 71^2 + 1^2
It is a plaindrome in base 13.
It is an inconsummate number, since it does not exist a number n which divided by its sum of digits gives 5042.
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 as a sum of consecutive naturals, namely, 1259 + ... + 1262.
25042 is an apocalyptic number.
5042 is a deficient number, since it is larger than the sum of its proper divisors (2524).
5042 is a wasteful number, since it uses less digits than its factorization.
5042 is an odious number, because the sum of its binary digits is odd.
The sum of its prime factors is 2523.
The product of its (nonzero) digits is 40, while the sum is 11.
The square root of 5042 is about 71.0070419043.
The cubic root of 5042 is about 17.1475053533.
Adding to 5042 its reverse (2405), we get a palindrome (7447).
The spelling of 5042 in words is "five thousand, forty-two".