508797 has 6 divisors (see below), whose sum is σ = 734942.
Its totient is φ = 339192.
The previous prime is 508789. The next prime is 508799. The reversal of 508797 is 797805.
It can be written as a sum of positive squares in only one way, i.e., 298116 + 210681 = 546^2 + 459^2
It is not a de Polignac number, because 508797 - 23 = 508789 is a prime.
It is a Duffinian number.
It is a congruent number.
It is not an unprimeable number, because it can be changed into a prime (508799) by changing a digit.
It is a pernicious number, because its binary representation contains a prime number (13) of ones.
It is a polite number, since it can be written in 5 ways as a sum of consecutive naturals, for example, 28258 + ... + 28275.
2508797 is an apocalyptic number.
It is an amenable number.
508797 is a deficient number, since it is larger than the sum of its proper divisors (226145).
508797 is a wasteful number, since it uses less digits than its factorization.
508797 is an odious number, because the sum of its binary digits is odd.
The sum of its prime factors is 56539 (or 56536 counting only the distinct ones).
The product of its (nonzero) digits is 17640, while the sum is 36.
The square root of 508797 is about 713.3000771064.
The cubic root of 508797 is about 79.8328279957.
It can be divided in two parts, 5087 and 97, that added together give a square (5184 = 722).
The spelling of 508797 in words is "five hundred eight thousand, seven hundred ninety-seven".