512521 has 2 divisors, whose sum is σ = 512522.
Its totient is φ = 512520.
The previous prime is 512507. The next prime is 512531. The reversal of 512521 is 125215.
Adding to 512521 its reverse (125215), we get a palindrome (637736).
It is a strong prime.
It can be written as a sum of positive squares in only one way, i.e., 511225 + 1296 = 715^2 + 36^2
It is a cyclic number.
It is not a de Polignac number, because 512521 - 29 = 512009 is a prime.
512521 is a lucky number.
It is a junction number, because it is equal to n+sod(n) for n = 512495 and 512504.
It is not a weakly prime, because it can be changed into another prime (512531) by changing a digit.
It is a good prime.
It is a polite number, since it can be written as a sum of consecutive naturals, namely, 256260 + 256261.
It is an arithmetic number, because the mean of its divisors is an integer number (256261).
2512521 is an apocalyptic number.
It is an amenable number.
512521 is a deficient number, since it is larger than the sum of its proper divisors (1).
512521 is an equidigital number, since it uses as much as digits as its factorization.
512521 is an odious number, because the sum of its binary digits is odd.
The product of its digits is 100, while the sum is 16.
The square root of 512521 is about 715.9057200498.
The cubic root of 512521 is about 80.0271262177.
The spelling of 512521 in words is "five hundred twelve thousand, five hundred twenty-one".