312217 has 2 divisors, whose sum is σ = 312218.
Its totient is φ = 312216.
The previous prime is 312211. The next prime is 312229. The reversal of 312217 is 712213.
It can be divided in two parts, 312 and 217, that added together give a square (529 = 232).
It is a happy number.
It is a weak prime.
It can be written as a sum of positive squares in only one way, i.e., 301401 + 10816 = 549^2 + 104^2
It is a cyclic number.
It is not a de Polignac number, because 312217 - 23 = 312209 is a prime.
It is a self number, because there is not a number n which added to its sum of digits gives 312217.
It is not a weakly prime, because it can be changed into another prime (312211) by changing a digit.
It is a polite number, since it can be written as a sum of consecutive naturals, namely, 156108 + 156109.
It is an arithmetic number, because the mean of its divisors is an integer number (156109).
2312217 is an apocalyptic number.
It is an amenable number.
312217 is a deficient number, since it is larger than the sum of its proper divisors (1).
312217 is an equidigital number, since it uses as much as digits as its factorization.
312217 is an odious number, because the sum of its binary digits is odd.
The product of its digits is 84, while the sum is 16.
The square root of 312217 is about 558.7638141469.
The cubic root of 312217 is about 67.8399494231.
The spelling of 312217 in words is "three hundred twelve thousand, two hundred seventeen", and thus it is an iban number.