39874 has 4 divisors (see below), whose sum is σ = 59814.
Its totient is φ = 19936.
The previous prime is 39869. The next prime is 39877. The reversal of 39874 is 47893.
It is a happy number.
39874 is digitally balanced in base 2, 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: 47893 = 47 ⋅1019.
It can be written as a sum of positive squares in only one way, i.e., 38025 + 1849 = 195^2 + 43^2
It is a Smith number, since the sum of its digits (31) coincides with the sum of the digits of its prime factors. Since it is squarefree, it is also a hoax number.
It is a plaindrome in base 5.
It is a zygodrome in base 5.
It is an inconsummate number, since it does not exist a number n which divided by its sum of digits gives 39874.
It is not an unprimeable number, because it can be changed into a prime (39877) by changing a digit.
39874 is an untouchable number, because it is not equal to the sum of proper divisors of any number.
It is a polite number, since it can be written as a sum of consecutive naturals, namely, 9967 + ... + 9970.
239874 is an apocalyptic number.
39874 is a deficient number, since it is larger than the sum of its proper divisors (19940).
39874 is a wasteful number, since it uses less digits than its factorization.
39874 is an evil number, because the sum of its binary digits is even.
The sum of its prime factors is 19939.
The product of its digits is 6048, while the sum is 31.
The square root of 39874 is about 199.6847515460.
The cubic root of 39874 is about 34.1635716676.
The spelling of 39874 in words is "thirty-nine thousand, eight hundred seventy-four".