18317 has 4 divisors (see below), whose sum is σ = 19740.
Its totient is φ = 16896.
The previous prime is 18313. The next prime is 18329. The reversal of 18317 is 71381.
Adding to 18317 its reverse (71381), we get a palindrome (89698).
18317 is digitally balanced in base 3, because in such base it contains all the possibile digits an equal number of times.
It is a semiprime because it is the product of two primes, and also an emirpimes, since its reverse is a distinct semiprime: 71381 = 41 ⋅1741.
It can be written as a sum of positive squares in 2 ways, for example, as 1156 + 17161 = 34^2 + 131^2
It is a cyclic number.
It is not a de Polignac number, because 18317 - 22 = 18313 is a prime.
It is an Ulam number.
It is a Duffinian number.
It is a plaindrome in base 16.
It is a congruent number.
It is an inconsummate number, since it does not exist a number n which divided by its sum of digits gives 18317.
It is not an unprimeable number, because it can be changed into a prime (18311) 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, 692 + ... + 717.
It is an arithmetic number, because the mean of its divisors is an integer number (4935).
218317 is an apocalyptic number.
It is an amenable number.
18317 is a deficient number, since it is larger than the sum of its proper divisors (1423).
18317 is a wasteful number, since it uses less digits than its factorization.
18317 is an evil number, because the sum of its binary digits is even.
The sum of its prime factors is 1422.
The product of its digits is 168, while the sum is 20.
The square root of 18317 is about 135.3403118069.
The cubic root of 18317 is about 26.3603667620.
The spelling of 18317 in words is "eighteen thousand, three hundred seventeen".