312313 has 2 divisors, whose sum is σ = 312314.
Its totient is φ = 312312.
The previous prime is 312311. The next prime is 312331. The reversal of 312313 is 313213.
Adding to 312313 its reverse (313213), we get a palindrome (625526).
Subtracting 312313 from its reverse (313213), we obtain a square (900 = 302).
It can be divided in two parts, 3123 and 13, that added together give a square (3136 = 562).
Together with next prime (312331) it forms an Ormiston pair, because they use the same digits, order apart.
It is a weak prime.
It can be written as a sum of positive squares in only one way, i.e., 284089 + 28224 = 533^2 + 168^2
It is a cyclic number.
It is not a de Polignac number, because 312313 - 21 = 312311 is a prime.
Together with 312311, it forms a pair of twin primes.
312313 is a lucky number.
It is a junction number, because it is equal to n+sod(n) for n = 312293 and 312302.
It is not a weakly prime, because it can be changed into another prime (312311) by changing a digit.
It is a pernicious number, because its binary representation contains a prime number (11) of ones.
It is a polite number, since it can be written as a sum of consecutive naturals, namely, 156156 + 156157.
It is an arithmetic number, because the mean of its divisors is an integer number (156157).
2312313 is an apocalyptic number.
It is an amenable number.
312313 is a deficient number, since it is larger than the sum of its proper divisors (1).
312313 is an equidigital number, since it uses as much as digits as its factorization.
312313 is an odious number, because the sum of its binary digits is odd.
The product of its digits is 54, while the sum is 13.
The square root of 312313 is about 558.8497114610.
The cubic root of 312313 is about 67.8469018182.
The spelling of 312313 in words is "three hundred twelve thousand, three hundred thirteen".