12874 has 8 divisors (see below), whose sum is σ = 19908.
Its totient is φ = 6240.
The previous prime is 12853. The next prime is 12889. The reversal of 12874 is 47821.
It can be written as a sum of positive squares in 2 ways, for example, as 11025 + 1849 = 105^2 + 43^2
It is a sphenic number, since it is the product of 3 distinct primes.
It is a nialpdrome in base 11.
It is an unprimeable number.
It is a polite number, since it can be written in 3 ways as a sum of consecutive naturals, for example, 4 + ... + 160.
212874 is an apocalyptic number.
12874 is a deficient number, since it is larger than the sum of its proper divisors (7034).
12874 is a wasteful number, since it uses less digits than its factorization.
12874 is an evil number, because the sum of its binary digits is even.
The sum of its prime factors is 200.
The product of its digits is 448, while the sum is 22.
The square root of 12874 is about 113.4636505670.
The cubic root of 12874 is about 23.4371339202.
It can be divided in two parts, 128 and 74, that added together give a palindrome (202).
The spelling of 12874 in words is "twelve thousand, eight hundred seventy-four".