340313 has 4 divisors (see below), whose sum is σ = 346788.
Its totient is φ = 333840.
The previous prime is 340297. The next prime is 340321. The reversal of 340313 is 313043.
Adding to 340313 its reverse (313043), we get a palindrome (653356).
340313 = 4122 + 4132.
It is a happy number.
It is a semiprime because it is the product of two primes, and also an emirpimes, since its reverse is a distinct semiprime: 313043 = 229 ⋅1367.
It can be written as a sum of positive squares in 2 ways, for example, as 169744 + 170569 = 412^2 + 413^2
It is a cyclic number.
It is not a de Polignac number, because 340313 - 24 = 340297 is a prime.
It is a Duffinian number.
It is an inconsummate number, since it does not exist a number n which divided by its sum of digits gives 340313.
It is not an unprimeable number, because it can be changed into a prime (340393) by changing a digit.
It is a polite number, since it can be written in 3 ways as a sum of consecutive naturals, for example, 3158 + ... + 3263.
It is an arithmetic number, because the mean of its divisors is an integer number (86697).
2340313 is an apocalyptic number.
340313 is the 413-rd centered square number.
It is an amenable number.
340313 is a deficient number, since it is larger than the sum of its proper divisors (6475).
340313 is an equidigital number, since it uses as much as digits as its factorization.
340313 is an odious number, because the sum of its binary digits is odd.
The sum of its prime factors is 6474.
The product of its (nonzero) digits is 108, while the sum is 14.
The square root of 340313 is about 583.3635230283.
The cubic root of 340313 is about 69.8167314838.
The spelling of 340313 in words is "three hundred forty thousand, three hundred thirteen".