338171 has 2 divisors, whose sum is σ = 338172.
Its totient is φ = 338170.
The previous prime is 338167. The next prime is 338183. The reversal of 338171 is 171833.
It is a happy number.
It is a weak prime.
It is a cyclic number.
It is not a de Polignac number, because 338171 - 22 = 338167 is a prime.
It is a super-2 number, since 2×3381712 = 228719250482, which contains 22 as substring.
It is equal to p29048 and since 338171 and 29048 have the same sum of digits, it is a Honaker prime.
It is not a weakly prime, because it can be changed into another prime (338141) 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, 169085 + 169086.
It is an arithmetic number, because the mean of its divisors is an integer number (169086).
2338171 is an apocalyptic number.
338171 is a deficient number, since it is larger than the sum of its proper divisors (1).
338171 is an equidigital number, since it uses as much as digits as its factorization.
338171 is an odious number, because the sum of its binary digits is odd.
The product of its digits is 504, while the sum is 23.
The square root of 338171 is about 581.5247200249.
The cubic root of 338171 is about 69.6699427909.
The spelling of 338171 in words is "three hundred thirty-eight thousand, one hundred seventy-one".